opencode-agile-agent 1.0.1 → 1.0.2

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 (66) hide show
  1. package/README.md +61 -71
  2. package/bin/cli.js +344 -434
  3. package/bin/sync-templates.js +45 -0
  4. package/bin/validate-templates.js +44 -6
  5. package/package.json +2 -1
  6. package/templates/.opencode/ARCHITECTURE.md +82 -368
  7. package/templates/.opencode/README.md +110 -391
  8. package/templates/.opencode/agents/api-designer.md +45 -312
  9. package/templates/.opencode/agents/backend-specialist.md +46 -214
  10. package/templates/.opencode/agents/code-archaeologist.md +45 -260
  11. package/templates/.opencode/agents/context-gatherer.md +51 -0
  12. package/templates/.opencode/agents/database-architect.md +45 -212
  13. package/templates/.opencode/agents/debugger.md +45 -302
  14. package/templates/.opencode/agents/developer.md +45 -523
  15. package/templates/.opencode/agents/devops-engineer.md +45 -253
  16. package/templates/.opencode/agents/documentation-writer.md +45 -247
  17. package/templates/.opencode/agents/explorer-agent.md +49 -233
  18. package/templates/.opencode/agents/feature-lead.md +62 -302
  19. package/templates/.opencode/agents/frontend-specialist.md +46 -186
  20. package/templates/.opencode/agents/game-developer.md +45 -391
  21. package/templates/.opencode/agents/mobile-developer.md +45 -264
  22. package/templates/.opencode/agents/orchestrator.md +48 -463
  23. package/templates/.opencode/agents/penetration-tester.md +44 -254
  24. package/templates/.opencode/agents/performance-optimizer.md +45 -292
  25. package/templates/.opencode/agents/pr-reviewer.md +45 -468
  26. package/templates/.opencode/agents/product-manager.md +46 -225
  27. package/templates/.opencode/agents/project-planner.md +45 -248
  28. package/templates/.opencode/agents/qa-automation-engineer.md +45 -275
  29. package/templates/.opencode/agents/security-auditor.md +44 -258
  30. package/templates/.opencode/agents/seo-specialist.md +45 -266
  31. package/templates/.opencode/agents/system-analyst.md +48 -428
  32. package/templates/.opencode/agents/test-engineer.md +45 -229
  33. package/templates/.opencode/archive/README.md +24 -0
  34. package/templates/.opencode/commands/brainstorm.md +10 -0
  35. package/templates/.opencode/commands/create.md +11 -0
  36. package/templates/.opencode/commands/debug.md +10 -0
  37. package/templates/.opencode/commands/plan.md +9 -0
  38. package/templates/.opencode/commands/review.md +11 -0
  39. package/templates/.opencode/commands/status.md +9 -0
  40. package/templates/.opencode/commands/test.md +10 -0
  41. package/templates/.opencode/skills/api-patterns/SKILL.md +25 -149
  42. package/templates/.opencode/skills/brainstorming/SKILL.md +26 -242
  43. package/templates/.opencode/skills/clean-code/SKILL.md +27 -339
  44. package/templates/.opencode/skills/code-philosophy/SKILL.md +27 -499
  45. package/templates/.opencode/skills/context-archive/SKILL.md +47 -0
  46. package/templates/.opencode/skills/context-gathering/SKILL.md +51 -0
  47. package/templates/.opencode/skills/frontend-design/SKILL.md +26 -224
  48. package/templates/.opencode/skills/intelligent-routing/SKILL.md +25 -182
  49. package/templates/.opencode/skills/parallel-agents/SKILL.md +25 -261
  50. package/templates/.opencode/skills/plan-writing/SKILL.md +28 -238
  51. package/templates/.opencode/skills/redteam-validation/SKILL.md +33 -0
  52. package/templates/.opencode/skills/security-gate/SKILL.md +33 -0
  53. package/templates/.opencode/skills/systematic-debugging/SKILL.md +25 -197
  54. package/templates/.opencode/skills/testing-patterns/SKILL.md +25 -238
  55. package/templates/AGENTS.template.md +300 -426
  56. package/templates/.opencode/agents/product-owner.md +0 -264
  57. package/templates/.opencode/workflows/brainstorm.md +0 -110
  58. package/templates/.opencode/workflows/create.md +0 -108
  59. package/templates/.opencode/workflows/debug.md +0 -128
  60. package/templates/.opencode/workflows/deploy.md +0 -160
  61. package/templates/.opencode/workflows/enhance.md +0 -253
  62. package/templates/.opencode/workflows/orchestrate.md +0 -130
  63. package/templates/.opencode/workflows/plan.md +0 -163
  64. package/templates/.opencode/workflows/review.md +0 -135
  65. package/templates/.opencode/workflows/status.md +0 -102
  66. package/templates/.opencode/workflows/test.md +0 -146
package/README.md CHANGED
@@ -1,71 +1,61 @@
1
- # opencode-agile-agent
2
-
3
- Scaffold OpenCode LLM SpecKit into any project with a single command.
4
-
5
- ## Quick Start
6
-
7
- ```bash
8
- # default
9
- npx opencode-agile-agent
10
-
11
- # explicit latest (recommended for docs/releases)
12
- npx opencode-agile-agent@latest
13
-
14
- # legacy alias (still supported)
15
- npx create-opencode-agile
16
- ```
17
-
18
- ## What This CLI Installs
19
-
20
- This package copies a full .opencode template into your target project, including:
21
-
22
- 1. Specialist agents in .opencode/agents
23
- 2. Reusable skills in .opencode/skills
24
- 3. Workflow commands in .opencode/workflows
25
- 4. Shared rules in .opencode/rules
26
- 5. Project docs and config under .opencode
27
- 6. A generated AGENTS.md in project root
28
-
29
- ## Template Source Of Truth
30
-
31
- The installer uses the folder below as the template source:
32
-
33
- - templates/.opencode
34
-
35
- This folder is now synced from the project .opencode kit so every npx install gets the same LLM SpecKit content.
36
-
37
- ## Installed Structure (Summary)
38
-
39
- ```text
40
- your-project/
41
- ├── .opencode/
42
- │ ├── agents/
43
- │ ├── skills/
44
- │ ├── workflows/
45
- │ ├── rules/
46
- │ ├── ARCHITECTURE.md
47
- │ ├── README.md
48
- │ ├── config.template.json
49
- │ └── package.json
50
- └── AGENTS.md
51
- ```
52
-
53
- ## Requirements
54
-
55
- - Node.js 16+
56
-
57
- ## Development Notes
58
-
59
- - Main CLI: bin/cli.js
60
- - Template validator: bin/validate-templates.js
61
- - Published files: bin, templates, README.md
62
-
63
- ## Validate Template Before Publish
64
-
65
- ```bash
66
- node bin/validate-templates.js
67
- ```
68
-
69
- ## License
70
-
71
- MIT
1
+ # opencode-agile-agent
2
+
3
+ Scaffold the OpenCode spec-driven agent kit into any project with one confirmation.
4
+
5
+ ## Quick Start
6
+ - `npx opencode-agile-agent`
7
+ - `npx opencode-agile-agent@latest`
8
+ - `npx create-opencode-agile`
9
+
10
+ ## Install Flow
11
+ - The installer asks one yes/no question.
12
+ - Framework, language, and project name are auto-detected.
13
+ - Confirmed installs copy `.opencode` and generate `AGENTS.md`.
14
+ - Declining exits immediately.
15
+
16
+ ## What Gets Installed
17
+ - 25 agents
18
+ - 14 skills
19
+ - 7 commands
20
+ - Shared rules, docs, and project config
21
+
22
+ ## Custom Commands
23
+ - `.opencode/commands/*.md` holds the slash commands.
24
+ - Each command uses Markdown frontmatter plus a prompt body, matching OpenCode's command format.
25
+ - The command set is `brainstorm`, `create`, `debug`, `plan`, `review`, `status`, and `test`.
26
+
27
+ ## Design Notes
28
+ - Skills are compact, philosophy-first, and loaded by intent.
29
+ - `security-gate` decides when a change needs a security gate or redteam phase.
30
+ - `redteam-validation` simulates attacker behavior and proves exploitability.
31
+ - `qa-automation-engineer` is support-only for harness and CI plumbing, not the default test path.
32
+ - `orchestrator` is optional; default routing stays with `feature-lead` and the owning specialists.
33
+ - The compact planning bundle is proposal.md, goal.md, spec.md, task.md, and important.md.
34
+ - `@feature-lead` is the primary entry point; the rest are subagents.
35
+ - Completed feature bundles are archived in `.opencode/archive/<feature-slug>/`.
36
+
37
+ ## Spec-Driven Flow
38
+ - `@feature-lead` is the primary entry point.
39
+ - `@context-gatherer` maps the current project before any planning or proof.
40
+ - `@project-planner` and `@system-analyst` build `proposal.md`, `goal.md`, `spec.md`, `task.md`, and `important.md`.
41
+ - `@developer` implements the approved spec.
42
+ - `@test-engineer`, `@security-auditor`, `@penetration-tester`, and `@pr-reviewer` close the loop.
43
+ - `@feature-lead` archives the completed bundle in `.opencode/archive/<feature-slug>/`.
44
+
45
+ ## Template Source Of Truth
46
+ - `templates/.opencode` mirrors the project kit.
47
+ - Use `node bin/sync-templates.js` after editing `.opencode`.
48
+
49
+ ## Requirements
50
+ - Node.js 16+
51
+
52
+ ## Development Notes
53
+ - Main CLI: `bin/cli.js`
54
+ - Template validator: `bin/validate-templates.js`
55
+ - Template sync: `bin/sync-templates.js`
56
+
57
+ ## Validate Template Before Publish
58
+ - `node bin/validate-templates.js`
59
+
60
+ ## License
61
+ - MIT