amazingteam 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/.ai-team/agents/architect.md +144 -0
  2. package/.ai-team/agents/ci-analyst.md +188 -0
  3. package/.ai-team/agents/developer.md +176 -0
  4. package/.ai-team/agents/planner.md +355 -0
  5. package/.ai-team/agents/qa.md +189 -0
  6. package/.ai-team/agents/reviewer.md +211 -0
  7. package/.ai-team/agents/triage.md +146 -0
  8. package/.ai-team/commands/ci-analyze.md +116 -0
  9. package/.ai-team/commands/design.md +100 -0
  10. package/.ai-team/commands/implement.md +108 -0
  11. package/.ai-team/commands/release-check.md +142 -0
  12. package/.ai-team/commands/review.md +142 -0
  13. package/.ai-team/commands/test.md +115 -0
  14. package/.ai-team/commands/triage.md +138 -0
  15. package/.ai-team/memory/architect/architecture_notes.md +67 -0
  16. package/.ai-team/memory/architect/design_rationale.md +113 -0
  17. package/.ai-team/memory/architect/module_map.md +84 -0
  18. package/.ai-team/memory/ci-analyst/failure_patterns.md +102 -0
  19. package/.ai-team/memory/ci-analyst/runbook_references.md +87 -0
  20. package/.ai-team/memory/developer/bug_investigation.md +102 -0
  21. package/.ai-team/memory/developer/build_issues.md +115 -0
  22. package/.ai-team/memory/developer/implementation_notes.md +83 -0
  23. package/.ai-team/memory/failures/failure_library.md +103 -0
  24. package/.ai-team/memory/planner/decomposition_notes.md +82 -0
  25. package/.ai-team/memory/planner/flow_rules.md +86 -0
  26. package/.ai-team/memory/planner/github_issue_patterns.md +229 -0
  27. package/.ai-team/memory/qa/regression_cases.md +101 -0
  28. package/.ai-team/memory/qa/test_strategy.md +138 -0
  29. package/.ai-team/memory/qa/validation_notes.md +110 -0
  30. package/.ai-team/memory/reviewer/quality_rules.md +105 -0
  31. package/.ai-team/memory/reviewer/recurring_risks.md +109 -0
  32. package/.ai-team/memory/reviewer/review_notes.md +124 -0
  33. package/.ai-team/memory/triage/classification_heuristics.md +82 -0
  34. package/.ai-team/memory/triage/debug_notes.md +87 -0
  35. package/.ai-team/opencode.template.jsonc +216 -0
  36. package/.ai-team/skills/bugfix-playbook/skill.md +174 -0
  37. package/.ai-team/skills/ci-failure-analysis/skill.md +176 -0
  38. package/.ai-team/skills/issue-triage/skill.md +163 -0
  39. package/.ai-team/skills/regression-checklist/skill.md +176 -0
  40. package/.ai-team/skills/release-readiness-check/skill.md +216 -0
  41. package/.ai-team/skills/repo-architecture-reader/skill.md +139 -0
  42. package/.ai-team/skills/safe-refactor-checklist/skill.md +215 -0
  43. package/.ai-team/skills/task-breakdown-and-dispatch/skill.md +151 -0
  44. package/.ai-team/skills/test-first-feature-dev/skill.md +205 -0
  45. package/.ai-team/workflows/ci.yml +81 -0
  46. package/.ai-team/workflows/nightly-ai-maintenance.yml +129 -0
  47. package/.ai-team/workflows/opencode.yml +33 -0
  48. package/.ai-team/workflows/pr-check.yml +41 -0
  49. package/.foundation/foundation.lock +38 -0
  50. package/.foundation/local-overrides.md +97 -0
  51. package/.foundation/upgrade-history.md +38 -0
  52. package/.opencode/agents/architect.md +38 -0
  53. package/.opencode/agents/ci-analyst.md +38 -0
  54. package/.opencode/agents/developer.md +43 -0
  55. package/.opencode/agents/planner.md +47 -0
  56. package/.opencode/agents/qa.md +34 -0
  57. package/.opencode/agents/reviewer.md +38 -0
  58. package/.opencode/agents/triage.md +37 -0
  59. package/.opencode/commands/auto.md +264 -0
  60. package/.opencode/commands/breakdown-issue.md +94 -0
  61. package/.opencode/commands/ci-analyze.md +15 -0
  62. package/.opencode/commands/close-parent-task.md +122 -0
  63. package/.opencode/commands/design.md +15 -0
  64. package/.opencode/commands/dispatch-next.md +102 -0
  65. package/.opencode/commands/implement.md +16 -0
  66. package/.opencode/commands/release-check.md +16 -0
  67. package/.opencode/commands/resume.md +88 -0
  68. package/.opencode/commands/review.md +15 -0
  69. package/.opencode/commands/show-blockers.md +97 -0
  70. package/.opencode/commands/summarize-parent.md +121 -0
  71. package/.opencode/commands/test.md +15 -0
  72. package/.opencode/commands/triage.md +109 -0
  73. package/.opencode/skills/bugfix-playbook/SKILL.md +81 -0
  74. package/.opencode/skills/ci-failure-analysis/SKILL.md +94 -0
  75. package/.opencode/skills/issue-triage/SKILL.md +80 -0
  76. package/.opencode/skills/regression-checklist/SKILL.md +81 -0
  77. package/.opencode/skills/release-readiness-check/SKILL.md +81 -0
  78. package/.opencode/skills/repo-architecture-reader/SKILL.md +65 -0
  79. package/.opencode/skills/safe-refactor-checklist/SKILL.md +76 -0
  80. package/.opencode/skills/task-breakdown-and-dispatch/SKILL.md +255 -0
  81. package/.opencode/skills/test-first-feature-dev/SKILL.md +78 -0
  82. package/AGENTS.md +879 -0
  83. package/CHANGELOG.md +261 -0
  84. package/LICENSE +21 -0
  85. package/README.md +1215 -0
  86. package/VERSION +1 -0
  87. package/action/__tests__/downloader.test.js +251 -0
  88. package/action/__tests__/merger.test.js +156 -0
  89. package/action/__tests__/path-resolver.test.js +199 -0
  90. package/action/__tests__/validator.test.js +310 -0
  91. package/action/action.yml +61 -0
  92. package/action/index.js +223 -0
  93. package/action/lib/downloader.js +344 -0
  94. package/action/lib/merger.js +170 -0
  95. package/action/lib/path-resolver.js +176 -0
  96. package/action/lib/setup.js +286 -0
  97. package/action/lib/validator.js +324 -0
  98. package/cli/__tests__/cli.test.js +270 -0
  99. package/cli/amazingteam.cjs +225 -0
  100. package/cli/commands/check-update.cjs +159 -0
  101. package/cli/commands/init.cjs +412 -0
  102. package/cli/commands/local.cjs +264 -0
  103. package/cli/commands/migrate.cjs +316 -0
  104. package/cli/commands/status.cjs +241 -0
  105. package/cli/commands/upgrade.cjs +213 -0
  106. package/cli/commands/validate.cjs +259 -0
  107. package/cli/commands/version.cjs +59 -0
  108. package/cli/sync.cjs +237 -0
  109. package/dist/index.js +35 -0
  110. package/docs/architecture/overview.md +138 -0
  111. package/docs/blocker_resolution_design.md +372 -0
  112. package/docs/bootstrap-model.md +356 -0
  113. package/docs/config-reference.md +458 -0
  114. package/docs/how-to-use.md +178 -0
  115. package/docs/migration-to-v3.md +355 -0
  116. package/docs/overlay-guide.md +156 -0
  117. package/docs/patterns/README.md +67 -0
  118. package/docs/quick-start-v3.md +330 -0
  119. package/docs/releases/README.md +64 -0
  120. package/docs/runbooks/ci/README.md +62 -0
  121. package/docs/runbooks/ci/build-debug.md +120 -0
  122. package/docs/runbooks/ci/flaky-tests.md +127 -0
  123. package/docs/runbooks/getting-started.md +81 -0
  124. package/docs/upgrade-policy.md +188 -0
  125. package/docs/versioning.md +199 -0
  126. package/overlays/README.md +30 -0
  127. package/overlays/ai-agent-product/.ai-team/skills/llm-integration/skill.md +99 -0
  128. package/overlays/ai-agent-product/docs/ai-agent-architecture.md +68 -0
  129. package/overlays/ai-agent-product/overlay.yaml +26 -0
  130. package/overlays/cpp-qt-desktop/.ai-team/skills/qt-signals-slots/skill.md +60 -0
  131. package/overlays/cpp-qt-desktop/docs/qt-conventions.md +64 -0
  132. package/overlays/cpp-qt-desktop/overlay.yaml +22 -0
  133. package/overlays/python-backend/.ai-team/skills/python-testing/skill.md +90 -0
  134. package/overlays/python-backend/docs/python-style.md +78 -0
  135. package/overlays/python-backend/overlay.yaml +22 -0
  136. package/overlays/web-fullstack/.ai-team/skills/frontend-testing/skill.md +70 -0
  137. package/overlays/web-fullstack/docs/frontend-conventions.md +68 -0
  138. package/overlays/web-fullstack/overlay.yaml +26 -0
  139. package/package.json +84 -0
  140. package/presets/default.yaml +161 -0
  141. package/presets/go.yaml +43 -0
  142. package/presets/python.yaml +43 -0
  143. package/presets/typescript.yaml +40 -0
  144. package/schemas/config.schema.json +239 -0
  145. package/scripts/diff_foundation_vs_project.sh +134 -0
  146. package/scripts/generate_docs.sh +200 -0
  147. package/scripts/init_project.sh +455 -0
  148. package/scripts/plan_upgrade.sh +268 -0
  149. package/scripts/upgrade_foundation.sh +365 -0
  150. package/scripts/validate-foundation.cjs +278 -0
  151. package/scripts/validate_foundation.sh +192 -0
  152. package/scripts/validate_project_setup.sh +171 -0
  153. package/tasks/README.md +94 -0
  154. package/tasks/_template/analysis.md +76 -0
  155. package/tasks/_template/design.md +121 -0
  156. package/tasks/_template/implementation.md +121 -0
  157. package/tasks/_template/release.md +119 -0
  158. package/tasks/_template/review.md +131 -0
  159. package/tasks/_template/subtasks/task.yaml +24 -0
  160. package/tasks/_template/task.yaml +75 -0
  161. package/tasks/_template/validation.md +128 -0
  162. package/templates/amazingteam.yml +81 -0
  163. package/templates/gitignore +14 -0
  164. package/templates/opencode.jsonc +216 -0
@@ -0,0 +1,129 @@
1
+ name: Nightly AI Maintenance
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '0 2 * * *'
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ memory-cleanup:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+
14
+ - name: Check Task Memory
15
+ run: |
16
+ echo "Checking task memory directories..."
17
+ TASKS_DIR="tasks"
18
+
19
+ if [ -d "$TASKS_DIR" ]; then
20
+ for task_dir in "$TASKS_DIR"/issue-*/; do
21
+ if [ -d "$task_dir" ]; then
22
+ issue_num=$(basename "$task_dir" | sed 's/issue-//')
23
+ echo "Checking task for issue #$issue_num"
24
+ fi
25
+ done
26
+ else
27
+ echo "No tasks directory found"
28
+ fi
29
+
30
+ - name: Memory Statistics
31
+ run: |
32
+ echo "=== Memory Statistics ==="
33
+
34
+ echo ""
35
+ echo "Role Memory Files:"
36
+ if [ -d ".ai-team/memory" ]; then
37
+ find .ai-team/memory -name "*.md" -exec wc -l {} \; 2>/dev/null || echo "No memory files found"
38
+ else
39
+ echo "No .ai-team/memory directory found"
40
+ fi
41
+
42
+ echo ""
43
+ echo "Task Memory Directories:"
44
+ find tasks -type d -name "issue-*" 2>/dev/null | wc -l
45
+
46
+ - name: Archive Completed Tasks
47
+ run: |
48
+ echo "Archiving completed task memory..."
49
+
50
+ ARCHIVE_DIR="tasks/.archive"
51
+ mkdir -p "$ARCHIVE_DIR"
52
+
53
+ if [ -d "tasks" ]; then
54
+ echo "Task directory exists, checking for archived items..."
55
+ fi
56
+
57
+ quality-check:
58
+ runs-on: ubuntu-latest
59
+ steps:
60
+ - uses: actions/checkout@v4
61
+
62
+ - name: Setup Node.js
63
+ uses: actions/setup-node@v4
64
+ with:
65
+ node-version: '20'
66
+
67
+ - name: Install Dependencies
68
+ run: npm install
69
+
70
+ - name: Run Lint
71
+ run: npm run lint
72
+ continue-on-error: true
73
+
74
+ - name: Run TypeCheck
75
+ run: npm run typecheck
76
+ continue-on-error: true
77
+
78
+ - name: Run Tests
79
+ run: npm test
80
+ continue-on-error: true
81
+
82
+ update-docs:
83
+ runs-on: ubuntu-latest
84
+ needs: [memory-cleanup, quality-check]
85
+ steps:
86
+ - uses: actions/checkout@v4
87
+
88
+ - name: Update Architecture Docs
89
+ run: |
90
+ echo "Architecture documentation check..."
91
+
92
+ if [ -f "docs/architecture/overview.md" ]; then
93
+ echo "Architecture docs exist"
94
+ else
95
+ echo "Warning: Architecture overview missing"
96
+ fi
97
+
98
+ if [ -d "docs/decisions" ]; then
99
+ echo "ADR directory exists"
100
+ ls -la docs/decisions/*.md 2>/dev/null || echo "No ADRs yet"
101
+ fi
102
+
103
+ - name: Create Maintenance Report
104
+ run: |
105
+ REPORT_FILE="docs/runbooks/maintenance-report.md"
106
+ mkdir -p docs/runbooks
107
+
108
+ cat > "$REPORT_FILE" << 'EOF'
109
+ # Nightly Maintenance Report
110
+
111
+ **Date**: $(date -u +"%Y-%m-%d %H:%M:%S UTC")
112
+
113
+ ## Summary
114
+
115
+ - Memory cleanup: Completed
116
+ - Quality checks: Completed
117
+ - Documentation: Verified
118
+
119
+ ## Next Steps
120
+
121
+ - Review any failing checks
122
+ - Update memory as needed
123
+ - Archive completed tasks
124
+
125
+ ---
126
+ *This report is generated automatically by the nightly-ai-maintenance workflow.*
127
+ EOF
128
+
129
+ echo "Maintenance report created at $REPORT_FILE"
@@ -0,0 +1,33 @@
1
+ name: opencode
2
+
3
+ on:
4
+ issue_comment:
5
+ types: [created]
6
+ pull_request_review_comment:
7
+ types: [created]
8
+
9
+ jobs:
10
+ opencode:
11
+ if: |
12
+ contains(github.event.comment.body, ' /oc') ||
13
+ startsWith(github.event.comment.body, '/oc') ||
14
+ contains(github.event.comment.body, ' /opencode') ||
15
+ startsWith(github.event.comment.body, '/opencode')
16
+ runs-on: ubuntu-latest
17
+ permissions:
18
+ id-token: write
19
+ contents: read
20
+ pull-requests: read
21
+ issues: read
22
+ steps:
23
+ - name: Checkout repository
24
+ uses: actions/checkout@v6
25
+ with:
26
+ persist-credentials: false
27
+
28
+ - name: Run opencode
29
+ uses: anomalyco/opencode/github@latest
30
+ env:
31
+ ALIBABA_CODING_PLAN_API_KEY: ${{ secrets.ALIBABA_CODING_PLAN_API_KEY }}
32
+ with:
33
+ model: alibaba-coding-plan/glm-5
@@ -0,0 +1,41 @@
1
+ name: PR Check
2
+
3
+ on:
4
+ pull_request:
5
+ types: [opened, synchronize, reopened]
6
+
7
+ jobs:
8
+ pr-validation:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ with:
13
+ fetch-depth: 0
14
+
15
+ - name: Check PR Title
16
+ run: |
17
+ TITLE="${{ github.event.pull_request.title }}"
18
+ if [[ ! "$TITLE" =~ ^(feat|fix|docs|style|refactor|test|chore)(\(.+\))?: ]]; then
19
+ echo "PR title must follow conventional commits format"
20
+ echo "Example: feat(core): add new feature"
21
+ exit 1
22
+ fi
23
+
24
+ - name: Check for Breaking Changes
25
+ run: |
26
+ BODY="${{ github.event.pull_request.body }}"
27
+ if [[ "$BODY" == *"BREAKING CHANGE"* ]]; then
28
+ echo "::warning::This PR contains breaking changes"
29
+ fi
30
+
31
+ - name: Validate PR Size
32
+ run: |
33
+ # Handle case where main branch doesn't exist yet
34
+ if git rev-parse --verify origin/main >/dev/null 2>&1; then
35
+ CHANGES=$(git diff --numstat origin/main...HEAD | wc -l)
36
+ if [ "$CHANGES" -gt 500 ]; then
37
+ echo "::warning::Large PR detected ($CHANGES files changed). Consider splitting into smaller PRs."
38
+ fi
39
+ else
40
+ echo "No main branch yet, skipping size check"
41
+ fi
@@ -0,0 +1,38 @@
1
+ # Foundation Lock
2
+
3
+ This file tracks the foundation version and configuration for this project.
4
+
5
+ ```yaml
6
+ foundation_repo: ai-team-foundation
7
+ foundation_version: 2.0.0
8
+ overlay: none
9
+ initialized_at: YYYY-MM-DD
10
+ last_upgrade_at: YYYY-MM-DD
11
+ upgrade_policy: controlled
12
+ language: typescript
13
+ framework: node
14
+ ```
15
+
16
+ ## Fields
17
+
18
+ | Field | Description |
19
+ |-------|-------------|
20
+ | `foundation_repo` | Name of the foundation repository |
21
+ | `foundation_version` | Current foundation version |
22
+ | `overlay` | Applied overlay (or "none") |
23
+ | `initialized_at` | Date the project was created |
24
+ | `last_upgrade_at` | Date of last foundation upgrade |
25
+ | `upgrade_policy` | Upgrade policy (always "controlled") |
26
+ | `language` | Primary programming language |
27
+ | `framework` | Primary framework |
28
+
29
+ ## Usage
30
+
31
+ This file is used by:
32
+ - `plan_upgrade.sh` - To determine current version
33
+ - `upgrade_foundation.sh` - To update version after upgrade
34
+ - `validate_project_setup.sh` - To verify foundation initialization
35
+
36
+ ## Do Not Modify
37
+
38
+ This file is managed by the foundation upgrade scripts. Manual modifications may cause issues with future upgrades.
@@ -0,0 +1,97 @@
1
+ # Local Overrides
2
+
3
+ This file documents project-specific customizations that should be preserved during foundation upgrades.
4
+
5
+ ## Purpose
6
+
7
+ When upgrading from a new foundation version, the upgrade script will read this file to understand which local customizations should not be overwritten.
8
+
9
+ ## Customization Categories
10
+
11
+ ### AGENTS.md Additions
12
+
13
+ Document any custom sections added to `AGENTS.md`:
14
+
15
+ - [ ] Custom build/test commands
16
+ - [ ] Project-specific naming conventions
17
+ - [ ] Custom safety constraints
18
+ - [ ] Additional governance rules
19
+
20
+ ```
21
+ Example:
22
+ - Added section "Build Commands" with custom npm scripts
23
+ - Added section "Database Migrations" with migration workflow
24
+ ```
25
+
26
+ ### Workflow Customizations
27
+
28
+ Document any changes to `.github/workflows/`:
29
+
30
+ - [ ] Modified CI workflow
31
+ - [ ] Added custom deployment workflow
32
+ - [ ] Custom environment setup
33
+
34
+ ```
35
+ Example:
36
+ - ci.yml: Added integration test stage
37
+ - Added deploy.yml for custom deployment
38
+ ```
39
+
40
+ ### Agent Prompt Modifications
41
+
42
+ Document any changes to `.ai-team/agents/`:
43
+
44
+ - [ ] Modified agent behavior
45
+ - [ ] Added project-specific instructions
46
+ - [ ] Custom memory access rules
47
+
48
+ ```
49
+ Example:
50
+ - developer.md: Added custom code style preferences
51
+ - architect.md: Added project-specific design constraints
52
+ ```
53
+
54
+ ### Custom Skills or Commands
55
+
56
+ Document any custom skills or commands added:
57
+
58
+ - [ ] Custom skills in `.ai-team/skills/`
59
+ - [ ] Custom commands in `.ai-team/commands/`
60
+
61
+ ```
62
+ Example:
63
+ - Added skill: database-migration
64
+ - Added command: /deploy
65
+ ```
66
+
67
+ ### Memory Customizations
68
+
69
+ Document any custom memory rules or files:
70
+
71
+ - [ ] Custom memory structure
72
+ - [ ] Additional memory files
73
+ - [ ] Custom isolation rules
74
+
75
+ ```
76
+ Example:
77
+ - Added .ai-team/memory/project-specific/
78
+ ```
79
+
80
+ ---
81
+
82
+ ## Upgrade Behavior
83
+
84
+ When upgrading:
85
+
86
+ 1. Files listed here will be flagged for review
87
+ 2. The upgrade script will generate diffs for these files
88
+ 3. You will be prompted to confirm changes
89
+ 4. Protected customizations will not be auto-overwritten
90
+
91
+ ---
92
+
93
+ ## Notes
94
+
95
+ - Update this file whenever you make local customizations
96
+ - Be specific about what was changed and why
97
+ - This file is preserved during all upgrades
@@ -0,0 +1,38 @@
1
+ # Upgrade History
2
+
3
+ This file records all foundation upgrades applied to this project.
4
+
5
+ ## Initial Setup
6
+
7
+ - **Date**: YYYY-MM-DD
8
+ - **Foundation Version**: 2.0.0
9
+ - **Overlay**: none
10
+ - **Action**: Initial project creation
11
+
12
+ ---
13
+
14
+ ## Upgrade Template
15
+
16
+ Copy this template for each upgrade:
17
+
18
+ ```markdown
19
+ ## Upgrade - YYYY-MM-DD
20
+
21
+ - **From Version**: X.X.X
22
+ - **To Version**: Y.Y.Y
23
+ - **Action**: Controlled upgrade applied
24
+ - **Files Added**: [list]
25
+ - **Files Skipped**: [list]
26
+ - **Conflicts Found**: [list or "None"]
27
+ - **Manual Decisions**: [list or "None"]
28
+ - **Protected Files**: Skipped / None
29
+ ```
30
+
31
+ ---
32
+
33
+ ## Notes
34
+
35
+ - Keep this file updated after each upgrade
36
+ - Record any manual decisions made during upgrade
37
+ - Note any conflicts that required resolution
38
+ - This file is preserved during upgrades
@@ -0,0 +1,38 @@
1
+ ---
2
+ description: Analyzes requirements and designs solutions without making code changes
3
+ mode: primary
4
+ model: default
5
+ tools:
6
+ write: false
7
+ edit: false
8
+ bash: true
9
+ permission:
10
+ edit: deny
11
+ bash:
12
+ "git diff*": allow
13
+ "git log*": allow
14
+ "git show*": allow
15
+ "npm run lint": allow
16
+ "npm run typecheck": allow
17
+ ---
18
+ You are the **Architect** agent. Your role is to analyze requirements and design solutions.
19
+
20
+ ## Detailed Behavior
21
+
22
+ See `.ai-team/agents/architect.md` for complete role definition, responsibilities, and constraints.
23
+
24
+ ## Key Files
25
+
26
+ - **Behavior Guide**: `.ai-team/agents/architect.md`
27
+ - **Memory**: `.ai-team/memory/architect/`
28
+ - **Task Memory**: `tasks/{task_id}/`
29
+
30
+ ## Skills
31
+
32
+ Use the `repo-architecture-reader` skill for codebase analysis.
33
+
34
+ ## Command
35
+
36
+ | Command | Description |
37
+ |---------|-------------|
38
+ | `/design` | Analyze and design solution architecture |
@@ -0,0 +1,38 @@
1
+ ---
2
+ description: Investigates CI failures and documents failure patterns
3
+ mode: subagent
4
+ model: default
5
+ tools:
6
+ write: false
7
+ edit: false
8
+ bash: true
9
+ permission:
10
+ edit: deny
11
+ bash:
12
+ "git log*": allow
13
+ "git show*": allow
14
+ "npm run*": allow
15
+ ---
16
+ You are the **CI Analyst** agent. Your role is to investigate CI failures and document patterns.
17
+
18
+ ## Detailed Behavior
19
+
20
+ See `.ai-team/agents/ci-analyst.md` for complete role definition, responsibilities, and constraints.
21
+
22
+ ## Key Files
23
+
24
+ - **Behavior Guide**: `.ai-team/agents/ci-analyst.md`
25
+ - **Memory**: `.ai-team/memory/ci-analyst/`
26
+ - **Failures**: `.ai-team/memory/failures/`
27
+ - **Task Memory**: `tasks/{task_id}/`
28
+
29
+ ## Skills
30
+
31
+ Use `ci-failure-analysis` for systematic CI debugging.
32
+ Use `bugfix-playbook` for root cause analysis.
33
+
34
+ ## Command
35
+
36
+ | Command | Description |
37
+ |---------|-------------|
38
+ | `/ci-analyze` | Analyze CI failures and identify root cause |
@@ -0,0 +1,43 @@
1
+ ---
2
+ description: Implements features and fixes bugs following design plans
3
+ mode: primary
4
+ model: default
5
+ tools:
6
+ write: true
7
+ edit: true
8
+ bash: true
9
+ permission:
10
+ bash:
11
+ "git push*": ask
12
+ "git commit*": ask
13
+ "gh pr create*": allow
14
+ "gh pr merge*": deny
15
+ ---
16
+ You are the **Developer** agent. Your role is to implement features and fix bugs.
17
+
18
+ ## Critical Rules
19
+
20
+ 1. **ALWAYS create a Pull Request** - never commit directly to main branch
21
+ 2. **NEVER merge PRs** - wait for human review and approval
22
+ 3. **Ask for confirmation** before pushing changes
23
+
24
+ ## Detailed Behavior
25
+
26
+ See `.ai-team/agents/developer.md` for complete role definition, responsibilities, and constraints.
27
+
28
+ ## Key Files
29
+
30
+ - **Behavior Guide**: `.ai-team/agents/developer.md`
31
+ - **Memory**: `.ai-team/memory/developer/`
32
+ - **Task Memory**: `tasks/{task_id}/`
33
+
34
+ ## Skills
35
+
36
+ Use `test-first-feature-dev` for feature implementation.
37
+ Use `bugfix-playbook` for bug fixes.
38
+
39
+ ## Command
40
+
41
+ | Command | Description |
42
+ |---------|-------------|
43
+ | `/implement` | Implement changes according to design |
@@ -0,0 +1,47 @@
1
+ ---
2
+ description: Decomposes tasks into GitHub sub-issues and coordinates workflow progression
3
+ mode: primary
4
+ model: default
5
+ tools:
6
+ write: false
7
+ edit: false
8
+ bash: true
9
+ permission:
10
+ edit: ask
11
+ bash:
12
+ "git status": allow
13
+ "git log*": allow
14
+ "npm run*": allow
15
+ "gh issue*": allow
16
+ "gh pr*": allow
17
+ ---
18
+ You are the **Planner** agent. Your role is to decompose complex tasks into explicit GitHub sub-issues and coordinate workflow progression.
19
+
20
+ **Core Principle:** Large issues should be decomposed into explicit GitHub subtasks before broad implementation begins.
21
+
22
+ **For `/auto` command:** You are the coordinator. Dispatch work to appropriate roles - do NOT execute each phase yourself.
23
+
24
+ ## Detailed Behavior
25
+
26
+ See `.ai-team/agents/planner.md` for complete role definition, responsibilities, and constraints.
27
+
28
+ ## Key Files
29
+
30
+ - **Behavior Guide**: `.ai-team/agents/planner.md`
31
+ - **Memory**: `.ai-team/memory/planner/`
32
+ - **Task Memory**: `tasks/{task_id}/`
33
+
34
+ ## Skills
35
+
36
+ Use the `task-breakdown-and-dispatch` skill for systematic task decomposition.
37
+
38
+ ## Commands
39
+
40
+ | Command | Description |
41
+ |---------|-------------|
42
+ | `/auto` | **Coordinator**: Dispatch to Triage → Architect → Developer → QA → Create PR |
43
+ | `/breakdown-issue` | Decompose a parent issue into sub-issues |
44
+ | `/dispatch-next` | Identify and dispatch the next active subtask |
45
+ | `/show-blockers` | List all blocked subtasks and required actions |
46
+ | `/close-parent-task` | Verify completion and close parent issue |
47
+ | `/summarize-parent` | Summarize progress of all child issues |
@@ -0,0 +1,34 @@
1
+ ---
2
+ description: Validates implementations and ensures quality through testing
3
+ mode: primary
4
+ model: default
5
+ tools:
6
+ write: true
7
+ edit: true
8
+ bash: true
9
+ permission:
10
+ bash:
11
+ "git push*": ask
12
+ ---
13
+ You are the **QA** agent. Your role is to validate implementations and ensure quality.
14
+
15
+ ## Detailed Behavior
16
+
17
+ See `.ai-team/agents/qa.md` for complete role definition, responsibilities, and constraints.
18
+
19
+ ## Key Files
20
+
21
+ - **Behavior Guide**: `.ai-team/agents/qa.md`
22
+ - **Memory**: `.ai-team/memory/qa/`
23
+ - **Task Memory**: `tasks/{task_id}/`
24
+
25
+ ## Skills
26
+
27
+ Use `test-first-feature-dev` for test-driven development.
28
+ Use `regression-checklist` for regression testing.
29
+
30
+ ## Command
31
+
32
+ | Command | Description |
33
+ |---------|-------------|
34
+ | `/test` | Run tests and validate implementation |
@@ -0,0 +1,38 @@
1
+ ---
2
+ description: Reviews code for quality, correctness, and maintainability
3
+ mode: primary
4
+ model: default
5
+ tools:
6
+ write: false
7
+ edit: false
8
+ bash: true
9
+ permission:
10
+ edit: deny
11
+ bash:
12
+ "git diff*": allow
13
+ "git log*": allow
14
+ "git show*": allow
15
+ ---
16
+ You are the **Reviewer** agent. Your role is to review code for quality and correctness.
17
+
18
+ ## Detailed Behavior
19
+
20
+ See `.ai-team/agents/reviewer.md` for complete role definition, responsibilities, and constraints.
21
+
22
+ ## Key Files
23
+
24
+ - **Behavior Guide**: `.ai-team/agents/reviewer.md`
25
+ - **Memory**: `.ai-team/memory/reviewer/`
26
+ - **Task Memory**: `tasks/{task_id}/`
27
+
28
+ ## Skills
29
+
30
+ Use `safe-refactor-checklist` for refactoring reviews.
31
+ Use `release-readiness-check` for release validation.
32
+
33
+ ## Commands
34
+
35
+ | Command | Description |
36
+ |---------|-------------|
37
+ | `/review` | Review code for quality and correctness |
38
+ | `/release-check` | Validate release readiness |
@@ -0,0 +1,37 @@
1
+ ---
2
+ description: Classifies issues and performs initial debug analysis
3
+ mode: subagent
4
+ model: default
5
+ tools:
6
+ write: false
7
+ edit: false
8
+ bash: true
9
+ permission:
10
+ edit: deny
11
+ bash:
12
+ "git log*": allow
13
+ "git show*": allow
14
+ "grep*": allow
15
+ ---
16
+ You are the **Triage** agent. Your role is to classify issues, determine decomposition need, and perform initial analysis.
17
+
18
+ ## Detailed Behavior
19
+
20
+ See `.ai-team/agents/triage.md` for complete role definition, responsibilities, and constraints.
21
+
22
+ ## Key Files
23
+
24
+ - **Behavior Guide**: `.ai-team/agents/triage.md`
25
+ - **Memory**: `.ai-team/memory/triage/`
26
+ - **Task Memory**: `tasks/{task_id}/`
27
+
28
+ ## Skills
29
+
30
+ Use `issue-triage` for systematic issue classification.
31
+ Use `bugfix-playbook` for initial debugging.
32
+
33
+ ## Command
34
+
35
+ | Command | Description |
36
+ |---------|-------------|
37
+ | `/triage` | Classify issue and determine decomposition need |