From 607837c09c975ea7f675f35a07609099bc6421ff Mon Sep 17 00:00:00 2001 From: Jason Barden Date: Wed, 11 Mar 2026 15:47:59 +0000 Subject: [PATCH] feat: add the initial agents, pipelines etc --- .github/CONTRIBUTING.md | 283 ++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 32 ++ .github/agents/Architect.agent.md | 76 ++++ .github/agents/Architect.reference.md | 26 ++ .github/agents/CodeReviewer.agent.md | 58 +++ .github/agents/CodeReviewer.reference.md | 66 ++++ .github/agents/Designer.agent.md | 62 +++ .github/agents/Designer.reference.md | 24 ++ .github/agents/DevOps.agent.md | 71 ++++ .github/agents/DevOps.reference.md | 23 ++ .github/agents/Developer.agent.md | 78 ++++ .github/agents/Developer.reference.md | 25 ++ .github/agents/Documentation.agent.md | 21 + .github/agents/Format.agent.md | 48 +++ .github/agents/Security.agent.md | 77 ++++ .github/agents/Security.reference.md | 24 ++ .github/agents/Tester.agent.md | 121 ++++++ .github/agents/Tester.reference.md | 84 ++++ .github/instructions/backend.instructions.md | 259 ++++++++++++ .../instructions/bdd-tests.instructions.md | 159 ++++++++ .../development-tasks.instructions.md | 369 ++++++++++++++++++ .github/instructions/docs.instructions.md | 200 ++++++++++ .github/instructions/frontend.instructions.md | 95 +++++ .../implementation-patterns.instructions.md | 194 +++++++++ .../instructions/performance.instructions.md | 276 +++++++++++++ .../style-guidelines.instructions.md | 100 +++++ .../troubleshooting.instructions.md | 256 ++++++++++++ .github/prompts/README.md | 38 ++ .github/prompts/copilot-setup-check.prompt.md | 184 +++++++++ .github/prompts/create-readme.prompt.md | 49 +++ .../snippets/prd-success-metrics.snippet.md | 41 ++ .github/prompts/write-adr.prompt.md | 88 +++++ .github/prompts/write-docs.prompt.md | 75 ++++ .github/prompts/write-ears-spec.prompt.md | 163 ++++++++ .github/prompts/write-prd.prompt.md | 133 +++++++ .github/workflows/docs-lint.yml | 38 ++ .github/workflows/main.yml | 199 ++++++++++ .github/workflows/policy-lint.yml | 27 ++ _repo-setup-scripts/configure-gh-repo.sh | 216 ++++++++++ _repo-setup-scripts/log.txt | 1 + .../usage-guide-for-configure-gh-repo..md | 32 ++ docs/.gitkeep | 1 + scripts/enforce-coverage.js | 101 +++++ scripts/validate-policy.js | 61 +++ src/.gitkeep | 1 + tests/.gitkeep | 1 + 46 files changed, 4556 insertions(+) create mode 100644 .github/CONTRIBUTING.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/agents/Architect.agent.md create mode 100644 .github/agents/Architect.reference.md create mode 100644 .github/agents/CodeReviewer.agent.md create mode 100644 .github/agents/CodeReviewer.reference.md create mode 100644 .github/agents/Designer.agent.md create mode 100644 .github/agents/Designer.reference.md create mode 100644 .github/agents/DevOps.agent.md create mode 100644 .github/agents/DevOps.reference.md create mode 100644 .github/agents/Developer.agent.md create mode 100644 .github/agents/Developer.reference.md create mode 100644 .github/agents/Documentation.agent.md create mode 100644 .github/agents/Format.agent.md create mode 100644 .github/agents/Security.agent.md create mode 100644 .github/agents/Security.reference.md create mode 100644 .github/agents/Tester.agent.md create mode 100644 .github/agents/Tester.reference.md create mode 100644 .github/instructions/backend.instructions.md create mode 100644 .github/instructions/bdd-tests.instructions.md create mode 100644 .github/instructions/development-tasks.instructions.md create mode 100644 .github/instructions/docs.instructions.md create mode 100644 .github/instructions/frontend.instructions.md create mode 100644 .github/instructions/implementation-patterns.instructions.md create mode 100644 .github/instructions/performance.instructions.md create mode 100644 .github/instructions/style-guidelines.instructions.md create mode 100644 .github/instructions/troubleshooting.instructions.md create mode 100644 .github/prompts/README.md create mode 100644 .github/prompts/copilot-setup-check.prompt.md create mode 100644 .github/prompts/create-readme.prompt.md create mode 100644 .github/prompts/snippets/prd-success-metrics.snippet.md create mode 100644 .github/prompts/write-adr.prompt.md create mode 100644 .github/prompts/write-docs.prompt.md create mode 100644 .github/prompts/write-ears-spec.prompt.md create mode 100644 .github/prompts/write-prd.prompt.md create mode 100644 .github/workflows/docs-lint.yml create mode 100644 .github/workflows/main.yml create mode 100644 .github/workflows/policy-lint.yml create mode 100755 _repo-setup-scripts/configure-gh-repo.sh create mode 100644 _repo-setup-scripts/log.txt create mode 100644 _repo-setup-scripts/usage-guide-for-configure-gh-repo..md create mode 100644 docs/.gitkeep create mode 100644 scripts/enforce-coverage.js create mode 100644 scripts/validate-policy.js create mode 100644 src/.gitkeep create mode 100644 tests/.gitkeep diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 0000000..962f8e1 --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1,283 @@ +# Contributing to AStar Dev OneDrive Sync Client + +Thank you for your interest in contributing! This document provides guidelines for contributing to the project. + +--- + +## Code Review Checklist + +Before submitting a pull request, ensure your code meets these requirements: + +### Code Quality +- [ ] Code follows naming conventions and style guide ([style-guidelines](instructions/style-guidelines.instructions.md)) +- [ ] All public members have XML documentation comments +- [ ] No warnings (project has `TreatWarningsAsErrors = true`) +- [ ] Code is properly formatted (use IDE formatter) + +### Architecture & Design +- [ ] New services/repositories have interfaces for testability +- [ ] Business logic is abstracted behind interfaces (no `new` instantiation of services) +- [ ] Dependencies injected via constructor parameters +- [ ] Follows layered architecture (Core → Infrastructure → Presentation) + +### Testing +- [ ] TDD workflow followed (failing test committed in branch history) +- [ ] Tests cover happy path and error cases +- [ ] Unit tests for business logic (80%+ coverage) +- [ ] Integration tests for cross-service flows (where applicable) +- [ ] All existing tests pass locally + +### Database Changes +- [ ] Database changes have Entity Framework migrations +- [ ] Migration reviewed and tested +- [ ] Migration includes `Up()` and `Down()` methods for rollback + +### Async/Concurrency +- [ ] Async/await used throughout (no `Task.Wait()` or `Task.Result`) +- [ ] `CancellationToken` parameters added to async methods +- [ ] Proper disposal of resources (`using` statements) + +### Documentation +- [ ] README updated (if applicable) +- [ ] API documentation added for public interfaces +- [ ] Comments explain "why", not "what" (code should be self-explanatory) + +--- + +## Commit Message Style + + +Use conventional commits format for all commit messages. This enables automatic changelog generation and semantic versioning. + + +### Format +``` +(): + + + +