anycrew 0.1.0__tar.gz

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 (98) hide show
  1. anycrew-0.1.0/.gitignore +8 -0
  2. anycrew-0.1.0/CHANGELOG.md +11 -0
  3. anycrew-0.1.0/LICENSE +21 -0
  4. anycrew-0.1.0/PKG-INFO +282 -0
  5. anycrew-0.1.0/README.md +261 -0
  6. anycrew-0.1.0/agents/ai-engineer.md +50 -0
  7. anycrew-0.1.0/agents/architect.md +45 -0
  8. anycrew-0.1.0/agents/brainstormer.md +46 -0
  9. anycrew-0.1.0/agents/crew-lead.md +53 -0
  10. anycrew-0.1.0/agents/debugger.md +38 -0
  11. anycrew-0.1.0/agents/designer.md +43 -0
  12. anycrew-0.1.0/agents/doc-writer.md +45 -0
  13. anycrew-0.1.0/agents/implementer.md +56 -0
  14. anycrew-0.1.0/agents/product-manager.md +44 -0
  15. anycrew-0.1.0/agents/release-engineer.md +45 -0
  16. anycrew-0.1.0/agents/researcher.md +41 -0
  17. anycrew-0.1.0/agents/reviewer.md +59 -0
  18. anycrew-0.1.0/agents/scout.md +50 -0
  19. anycrew-0.1.0/agents/security-reviewer.md +54 -0
  20. anycrew-0.1.0/agents/spec-writer.md +43 -0
  21. anycrew-0.1.0/agents/tester.md +41 -0
  22. anycrew-0.1.0/docs/README.md +18 -0
  23. anycrew-0.1.0/docs/adr/README.md +8 -0
  24. anycrew-0.1.0/hooks/hooks.json +18 -0
  25. anycrew-0.1.0/hooks/scripts/lint-after-edit.sh +65 -0
  26. anycrew-0.1.0/models.json +98 -0
  27. anycrew-0.1.0/package.json +49 -0
  28. anycrew-0.1.0/presets/generic.json +28 -0
  29. anycrew-0.1.0/presets/go-service.json +38 -0
  30. anycrew-0.1.0/presets/node-typescript-next.json +44 -0
  31. anycrew-0.1.0/presets/python-fastapi-react.json +49 -0
  32. anycrew-0.1.0/pyproject.toml +49 -0
  33. anycrew-0.1.0/rules/00-sdd-process.md +21 -0
  34. anycrew-0.1.0/rules/10-architecture-boundaries.md +26 -0
  35. anycrew-0.1.0/rules/40-security-and-data.md +25 -0
  36. anycrew-0.1.0/rules/50-llm-features.md +27 -0
  37. anycrew-0.1.0/rules/60-testing.md +19 -0
  38. anycrew-0.1.0/rules/70-docs-and-status.md +19 -0
  39. anycrew-0.1.0/skills/crew-adr/SKILL.md +21 -0
  40. anycrew-0.1.0/skills/crew-architecture/SKILL.md +24 -0
  41. anycrew-0.1.0/skills/crew-brainstorm/SKILL.md +24 -0
  42. anycrew-0.1.0/skills/crew-checkpoint/SKILL.md +22 -0
  43. anycrew-0.1.0/skills/crew-debug/SKILL.md +22 -0
  44. anycrew-0.1.0/skills/crew-deploy-check/SKILL.md +28 -0
  45. anycrew-0.1.0/skills/crew-design/SKILL.md +22 -0
  46. anycrew-0.1.0/skills/crew-docs/SKILL.md +23 -0
  47. anycrew-0.1.0/skills/crew-implement/SKILL.md +24 -0
  48. anycrew-0.1.0/skills/crew-init/SKILL.md +36 -0
  49. anycrew-0.1.0/skills/crew-llm/SKILL.md +28 -0
  50. anycrew-0.1.0/skills/crew-plan/SKILL.md +24 -0
  51. anycrew-0.1.0/skills/crew-prd/SKILL.md +22 -0
  52. anycrew-0.1.0/skills/crew-research/SKILL.md +21 -0
  53. anycrew-0.1.0/skills/crew-review/SKILL.md +21 -0
  54. anycrew-0.1.0/skills/crew-security/SKILL.md +21 -0
  55. anycrew-0.1.0/skills/crew-spec/SKILL.md +24 -0
  56. anycrew-0.1.0/skills/crew-status/SKILL.md +31 -0
  57. anycrew-0.1.0/skills/crew-sync/SKILL.md +23 -0
  58. anycrew-0.1.0/skills/crew-tasks/SKILL.md +21 -0
  59. anycrew-0.1.0/skills/crew-test/SKILL.md +21 -0
  60. anycrew-0.1.0/skills/crew-verify/SKILL.md +23 -0
  61. anycrew-0.1.0/src/anycrew/__init__.py +1 -0
  62. anycrew-0.1.0/src/anycrew/__main__.py +4 -0
  63. anycrew-0.1.0/src/anycrew/cli.py +226 -0
  64. anycrew-0.1.0/src/anycrew/frontmatter.py +111 -0
  65. anycrew-0.1.0/src/anycrew/fsx.py +53 -0
  66. anycrew-0.1.0/src/anycrew/generate.py +304 -0
  67. anycrew-0.1.0/src/anycrew/pack.py +89 -0
  68. anycrew-0.1.0/templates/AGENTS.md +85 -0
  69. anycrew-0.1.0/templates/CLAUDE.md +3 -0
  70. anycrew-0.1.0/templates/GEMINI.md +2 -0
  71. anycrew-0.1.0/templates/anycrew.config.json +13 -0
  72. anycrew-0.1.0/templates/copilot-instructions.md +6 -0
  73. anycrew-0.1.0/templates/docs/00-constitution.md +62 -0
  74. anycrew-0.1.0/templates/docs/01-brainstorm-and-decision.md +45 -0
  75. anycrew-0.1.0/templates/docs/02-research.md +17 -0
  76. anycrew-0.1.0/templates/docs/03-prd.md +31 -0
  77. anycrew-0.1.0/templates/docs/04-requirements-traceability.md +9 -0
  78. anycrew-0.1.0/templates/docs/05-architecture.md +35 -0
  79. anycrew-0.1.0/templates/docs/06-agent-design.md +25 -0
  80. anycrew-0.1.0/templates/docs/09-data-model.md +17 -0
  81. anycrew-0.1.0/templates/docs/10-api-contract.md +13 -0
  82. anycrew-0.1.0/templates/docs/11-frontend.md +18 -0
  83. anycrew-0.1.0/templates/docs/12-design-system.md +14 -0
  84. anycrew-0.1.0/templates/docs/13-conventions.md +26 -0
  85. anycrew-0.1.0/templates/docs/14-security.md +23 -0
  86. anycrew-0.1.0/templates/docs/15-testing.md +18 -0
  87. anycrew-0.1.0/templates/docs/16-infrastructure.md +17 -0
  88. anycrew-0.1.0/templates/docs/17-observability.md +8 -0
  89. anycrew-0.1.0/templates/docs/19-delivery-plan.md +10 -0
  90. anycrew-0.1.0/templates/docs/20-implementation-status.md +18 -0
  91. anycrew-0.1.0/templates/docs/README.md +34 -0
  92. anycrew-0.1.0/templates/docs/adr/ADR-template.md +13 -0
  93. anycrew-0.1.0/templates/docs/adr/README.md +4 -0
  94. anycrew-0.1.0/templates/docs/glossary.md +8 -0
  95. anycrew-0.1.0/templates/docs/specs/NNN-template/plan.md +25 -0
  96. anycrew-0.1.0/templates/docs/specs/NNN-template/spec.md +26 -0
  97. anycrew-0.1.0/templates/docs/specs/NNN-template/tasks.md +14 -0
  98. anycrew-0.1.0/templates/docs/specs/README.md +25 -0
@@ -0,0 +1,8 @@
1
+ node_modules/
2
+ .DS_Store
3
+ *.log
4
+ .env
5
+ .env.*
6
+ !.env.example
7
+ /tmp/
8
+ /examples/*/node_modules/
@@ -0,0 +1,11 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0 — 2026-10-29
4
+
5
+ - Wiki: 17 concept pages (`wiki/`) published to the GitHub wiki; logo and plugin icon; README in
6
+ open-source form with a concepts primer and FAQ.
7
+
8
+ - First release: 16 agents, 22 `/crew-*` skills, 6 rules, 4 presets, docs skeleton, lint hook.
9
+ - CLI: `init`, `sync`, `doctor`, `list`, `presets`; generators for Claude Code, Codex, Antigravity,
10
+ Cursor, OpenCode and GitHub Copilot.
11
+ - Manifests for Claude Code plugins/marketplace and the Agent Plugins spec.
anycrew-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 anycrew contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
anycrew-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,282 @@
1
+ Metadata-Version: 2.5
2
+ Name: anycrew
3
+ Version: 0.1.0
4
+ Summary: One crew of specialist AI agents for any coding assistant. Spec-driven, test-first, security-reviewed, model-tiered. Installs into Claude Code, OpenAI Codex, Google Antigravity, Cursor, OpenCode and GitHub Copilot.
5
+ Project-URL: Homepage, https://github.com/fadlytanjung/anycrew
6
+ Project-URL: Repository, https://github.com/fadlytanjung/anycrew
7
+ Project-URL: Documentation, https://github.com/fadlytanjung/anycrew/wiki
8
+ Project-URL: Changelog, https://github.com/fadlytanjung/anycrew/blob/main/CHANGELOG.md
9
+ Author: anycrew contributors
10
+ License-Expression: MIT
11
+ License-File: LICENSE
12
+ Keywords: agent-skills,ai-agents,antigravity,claude-code,codex,copilot,cursor,mvp,opencode,spec-driven-development
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Topic :: Software Development
19
+ Requires-Python: >=3.9
20
+ Description-Content-Type: text/markdown
21
+
22
+ <p align="center">
23
+ <img src="assets/logo.svg" alt="anycrew" width="620">
24
+ </p>
25
+
26
+ <p align="center">
27
+ <strong>One crew of specialist AI agents for any coding assistant.</strong><br>
28
+ Spec-driven · test-first · security-reviewed · model-tiered
29
+ </p>
30
+
31
+ <p align="center">
32
+ <a href="https://github.com/fadlytanjung/anycrew/actions/workflows/ci.yml"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/fadlytanjung/anycrew/ci.yml?branch=main&label=ci"></a>
33
+ <a href="https://www.npmjs.com/package/anycrew"><img alt="npm" src="https://img.shields.io/npm/v/anycrew?color=0284c7"></a>
34
+ <img alt="node" src="https://img.shields.io/badge/node-%E2%89%A518-339933?logo=node.js&logoColor=white">
35
+ <img alt="dependencies" src="https://img.shields.io/badge/dependencies-0-0284c7">
36
+ <a href="LICENSE"><img alt="MIT" src="https://img.shields.io/badge/license-MIT-blue"></a>
37
+ <br>
38
+ <img alt="Claude Code" src="https://img.shields.io/badge/Claude_Code-000?logo=anthropic&logoColor=white">
39
+ <img alt="Codex" src="https://img.shields.io/badge/OpenAI_Codex-412991?logo=openai&logoColor=white">
40
+ <img alt="Antigravity" src="https://img.shields.io/badge/Antigravity-4285F4?logo=google&logoColor=white">
41
+ <img alt="Cursor" src="https://img.shields.io/badge/Cursor-111827">
42
+ <img alt="OpenCode" src="https://img.shields.io/badge/OpenCode-1f2937">
43
+ <img alt="Copilot" src="https://img.shields.io/badge/GitHub_Copilot-24292e?logo=github&logoColor=white">
44
+ </p>
45
+
46
+ ---
47
+
48
+ anycrew installs a ready-made engineering team into the coding assistant you already use. Sixteen
49
+ agents (brainstormer, product manager, architect, designer, spec writer, implementer, tester,
50
+ reviewer, security reviewer, debugger, AI engineer, release engineer, doc writer, scout, crew lead)
51
+ follow one method from idea to a deployed MVP, and leave behind the documents a team can review: a
52
+ constitution, a PRD, ADRs, specs with acceptance criteria, and a status page that says what is
53
+ really built. Each agent declares how much model it needs, so cheap work runs on cheap models.
54
+
55
+ ```bash
56
+ npx anycrew init # once published to npm
57
+ npx github:fadlytanjung/anycrew init # works today, straight from this repository
58
+ ```
59
+
60
+ > **Status: 0.1.0, early.** Claude Code and Antigravity outputs are verified end to end; Codex,
61
+ > Cursor, OpenCode and Copilot outputs follow their documentation and are being exercised next.
62
+ > See the [tool matrix](docs/04-tool-matrix.md). Feedback and PRs welcome.
63
+
64
+ ## Contents
65
+
66
+ - [Why anycrew](#why-anycrew)
67
+ - [Concepts in two minutes](#concepts-in-two-minutes)
68
+ - [What you get](#what-you-get)
69
+ - [Quick start](#quick-start)
70
+ - [Install the pack globally](#install-the-pack-globally)
71
+ - [How it works](#how-it-works)
72
+ - [The crew](#the-crew)
73
+ - [Model tiers](#model-tiers)
74
+ - [What `init` writes](#what-init-writes)
75
+ - [Documentation and wiki](#documentation-and-wiki)
76
+ - [FAQ](#faq)
77
+ - [Roadmap](#roadmap)
78
+ - [Contributing](#contributing)
79
+ - [Acknowledgements](#acknowledgements)
80
+ - [Licence](#licence)
81
+
82
+ ## Why anycrew
83
+
84
+ Every new project with a coding assistant repeats the same setup: an agent guide, rules, a handful
85
+ of slash commands, a constitution, a docs skeleton, a spec loop, quality gates, a status page. Each
86
+ assistant wants those in a different folder with a different front matter. The packs that exist are
87
+ tied to one assistant, or ship skills without a team, or ship a method without the security,
88
+ testing, docs and release roles an MVP needs. None of them says which model each role needs.
89
+
90
+ anycrew is the boilerplate for the **team**, not for the stack. A preset describes your stack's
91
+ commands and conventions; anycrew never forces a framework, a cloud or a language.
92
+
93
+ ## Concepts in two minutes
94
+
95
+ Every term has a page in the [wiki](wiki/Home.md). The short version:
96
+
97
+ | Term | Means | In anycrew |
98
+ |---|---|---|
99
+ | **SDD** (spec-driven development) | write and approve the spec first, implement from it, change both together | the whole method; `rules/00-sdd-process.md` |
100
+ | **Constitution** | the short list of principles every change is checked against | `docs/00-constitution.md`, created by `init` |
101
+ | **PRD** (product requirements document) | who it is for, what they need, scope by priority, requirements with IDs | `docs/03`, written by `/crew-prd` |
102
+ | **ADR** (architecture decision record) | one decision that is expensive to reverse: context, options, decision, consequences | `docs/adr/ADR-NNN-*.md`, written by `/crew-adr` |
103
+ | **AC** (acceptance criterion) | one testable Given/When/Then statement, `AC-NNN-n` | in every spec; test names and commits cite them |
104
+ | **Spec · plan · tasks** | what and why · how and which files · ordered test-first checklist | `docs/specs/NNN-name/`, the unit of work |
105
+ | **Implementation status** | the only doc that says what is actually built, with the test that proves it | `docs/20`, kept true by `/crew-checkpoint` |
106
+ | **Gate** | a point where a person decides before the next phase | decision, P0 scope, ADRs, spec Ready, production deploy |
107
+ | **Agent** | a specialist with its own prompt, tools and model the assistant delegates to | 16 in `agents/` |
108
+ | **Skill** | a procedure loaded on demand, typed as `/name` | 22 `/crew-*` in `skills/` |
109
+ | **Rule** | always-on or path-scoped guidance | 6 in `rules/`, plus stack rules from your preset |
110
+ | **Tier** | how much model an agent needs: `fast`, `balanced`, `strong` | mapped per assistant in `models.json` |
111
+ | **Preset** | a JSON description of a stack: commands, layout, conventions | `presets/`, or your own file |
112
+ | **Hook** | a command the assistant runs at an event, e.g. after a file edit | lint-after-edit, wired into each assistant |
113
+
114
+ ## What you get
115
+
116
+ | | |
117
+ |---|---|
118
+ | **16 agents** | each with a job, inputs, outputs, a procedure, rules, stop conditions and a **model tier** |
119
+ | **22 skills** (`/crew-*`) | the workflow as slash commands: status, brainstorm, research, prd, architecture, adr, design, spec, plan, tasks, implement, test, review, security, verify, debug, checkpoint, deploy-check, docs, llm, sync, init |
120
+ | **6 rules** | spec-driven process, architecture boundaries, security and data, LLM features, testing, docs and status; plus backend and frontend rules generated from your preset |
121
+ | **Docs skeleton** | constitution, brainstorm, research, PRD, traceability, architecture, data model, API, frontend, design system, conventions, security, testing, infra, observability, delivery plan, status, ADRs, specs |
122
+ | **Presets** | `python-fastapi-react`, `node-typescript-next`, `go-service`, `generic`; write your own in one JSON file |
123
+ | **Hook** | a tool-agnostic lint-after-edit hook wired into each assistant |
124
+ | **One CLI** | `npx anycrew init` generates every assistant's native files from one source; `sync` keeps them current without touching your edits; zero dependencies |
125
+
126
+ ## Quick start
127
+
128
+ ```bash
129
+ cd your-project
130
+ npx anycrew init --preset python-fastapi-react --tools claude,codex,antigravity
131
+ # or just: npx anycrew init (detects the assistants on your machine)
132
+ # until the npm release lands, use the same commands with: npx github:fadlytanjung/anycrew
133
+
134
+ npx anycrew doctor # what each assistant will read
135
+ npx anycrew list # agents, tiers and the model each assistant will use
136
+ ```
137
+
138
+ Then open your assistant in the folder and type `/crew-status`. For a new idea, `/crew-brainstorm`;
139
+ for an existing codebase, `/crew-spec`.
140
+
141
+ ## Install the pack globally
142
+
143
+ | Assistant | Command |
144
+ |---|---|
145
+ | Claude Code | `claude plugin marketplace add fadlytanjung/anycrew && claude plugin install anycrew@anycrew` |
146
+ | Antigravity | `agy plugin install https://github.com/fadlytanjung/anycrew` |
147
+ | Codex | `codex plugin marketplace add fadlytanjung/anycrew` then `/plugins` |
148
+ | Copilot CLI | `copilot plugin install fadlytanjung/anycrew` |
149
+ | Cursor | Customize → Install, point at the repository (Agent Plugins manifest) |
150
+ | Skills only, any assistant | `npx skills add fadlytanjung/anycrew` |
151
+
152
+ A global install gives you the agents and skills everywhere. `npx anycrew init` in a project adds
153
+ the docs skeleton, the stack rules, the hooks and the per-project model overrides.
154
+
155
+ ## How it works
156
+
157
+ ```mermaid
158
+ flowchart LR
159
+ idea["Idea"] --> b["/crew-brainstorm<br/>docs/01 decision"]
160
+ b --> p["/crew-prd<br/>docs/03 PRD, FR/NFR"]
161
+ p --> a["/crew-architecture<br/>docs/05, 09, 10, ADRs"]
162
+ a --> s["/crew-spec<br/>spec · plan · tasks"]
163
+ s --> i["/crew-implement<br/>TDD, one task, one commit"]
164
+ i --> r["/crew-review · /crew-security<br/>findings with evidence"]
165
+ r --> d["/crew-deploy-check<br/>checklist, rollback"]
166
+ d --> c["/crew-checkpoint · /crew-docs<br/>status that is true"]
167
+ i -. "/crew-debug · /crew-test" .-> i
168
+ ```
169
+
170
+ Each skill delegates to one agent at its tier. The crew lead sequences the phases and keeps a
171
+ person at every gate. Agents never approve their own work.
172
+
173
+ ## The crew
174
+
175
+ | Agent | Tier | Does |
176
+ |---|---|---|
177
+ | crew-lead | strong | routes a request through the phases; never codes |
178
+ | scout | fast | finds what exists, read-only, before anyone guesses |
179
+ | brainstormer | strong | idea → problem scan → scored options → decision (`docs/01`) |
180
+ | researcher | balanced | facts with sources and confidence (`docs/02`) |
181
+ | product-manager | strong | personas, journeys, P0/P1/P2, FR/NFR (`docs/03`, `04`) |
182
+ | architect | strong | containers, boundaries, data model, API contract, ADRs |
183
+ | designer | balanced | screens, states, tokens, responsive and accessibility rules |
184
+ | ai-engineer | strong | model/code boundary, prompts as files, schemas, grounding, evals |
185
+ | spec-writer | strong | spec, plan, tasks with acceptance criteria |
186
+ | implementer | balanced | one task, test first, smallest change, one commit |
187
+ | tester | balanced | AC → test map, fixtures, boundary and property tests, evals |
188
+ | debugger | strong | reproduce, isolate, root cause, regression test |
189
+ | reviewer | strong | findings with file:line and a failure scenario; drift audit |
190
+ | security-reviewer | strong | threat model, OWASP and LLM top-10 audit, test per fix |
191
+ | release-engineer | balanced | build, pipeline, deploy, rollback, observability, cost guardrails |
192
+ | doc-writer | fast | README, docs index, changelog, the status page |
193
+
194
+ ## Model tiers
195
+
196
+ | Tier | Claude Code | Antigravity | Codex | OpenCode | Used by |
197
+ |---|---|---|---|---|---|
198
+ | fast | haiku, low effort | flash | low effort | claude-haiku | scout, doc-writer |
199
+ | balanced | sonnet, medium | flash | medium | claude-sonnet | implementer, tester, researcher, designer, release-engineer |
200
+ | strong | opus, high | pro | high | claude-opus | brainstormer, product-manager, architect, spec-writer, reviewer, security-reviewer, debugger, ai-engineer, crew-lead |
201
+
202
+ Override any cell per project in `.anycrew/config.json` under `models`. Cursor and Copilot default
203
+ to `inherit` until you set model IDs. Details: [docs/03-model-tiers.md](docs/03-model-tiers.md).
204
+
205
+ ## What `init` writes
206
+
207
+ ```
208
+ your-project/
209
+ ├── AGENTS.md agent guide, read by every assistant (yours to edit)
210
+ ├── CLAUDE.md @AGENTS.md
211
+ ├── docs/ constitution, status, specs index, ADR and spec templates (yours)
212
+ ├── .anycrew/config.json preset, tools, model overrides
213
+ ├── .anycrew/hooks/ lint-after-edit.sh
214
+ ├── .agents/rules|skills|agents universal layer: Codex, Antigravity, Cursor, Copilot, OpenCode
215
+ ├── .claude/agents|skills|rules + settings.json hooks
216
+ ├── .codex/agents/*.toml
217
+ ├── .cursor/rules/*.mdc, agents/, hooks.json
218
+ ├── .opencode/agents/
219
+ └── .github/copilot-instructions.md, instructions/, agents/, hooks/
220
+ ```
221
+
222
+ Generated files carry an `anycrew:generated` marker; `sync` rewrites only those and reports the
223
+ rest. `AGENTS.md` and everything under `docs/` are created once and then belong to you.
224
+
225
+ ## Documentation and wiki
226
+
227
+ | Where | What |
228
+ |---|---|
229
+ | [wiki/](wiki/Home.md) | every term and concept, one page each: SDD, constitution, PRD, ACs, ADRs, spec loop, status, gates, agents vs skills vs rules, tiers, hooks, presets, standards, glossary, FAQ |
230
+ | [docs/00-vision.md](docs/00-vision.md) | what anycrew is and is not |
231
+ | [docs/01-method.md](docs/01-method.md) | the lifecycle, artifacts, gates, who does what |
232
+ | [docs/02-agents.md](docs/02-agents.md) | the roster and how to customise it |
233
+ | [docs/03-model-tiers.md](docs/03-model-tiers.md) | tiers and the mapping per assistant |
234
+ | [docs/04-tool-matrix.md](docs/04-tool-matrix.md) | what each assistant reads, install, verification status |
235
+ | [docs/05-landscape.md](docs/05-landscape.md) | comparison with BMAD, superpowers, spec-kit, wshobson/agents and others |
236
+ | [docs/06-project-layout.md](docs/06-project-layout.md) | the docs skeleton and the spec loop in a project |
237
+ | [docs/07-presets.md](docs/07-presets.md) | stack presets and writing your own |
238
+ | [docs/08-roadmap.md](docs/08-roadmap.md) | what is next |
239
+ | [docs/adr/](docs/adr/README.md) | decisions about anycrew itself |
240
+
241
+ The `wiki/` folder is published to the GitHub wiki on every push to `main`.
242
+
243
+ ## FAQ
244
+
245
+ **Is this a framework like CrewAI or LangGraph?** No. Those run agents inside your product. anycrew
246
+ is a crew that helps you build your product inside your coding assistant.
247
+
248
+ **Will it overwrite my CLAUDE.md, rules or agents?** No. `init` never touches `AGENTS.md`, `docs/`
249
+ or any file without the `anycrew:generated` marker; it reports them instead.
250
+
251
+ **Do I have to use the whole method?** No. Each skill works alone; the gates and IDs pay off most
252
+ when the loop is used end to end.
253
+
254
+ **Can I use cheaper models everywhere?** Yes: override the tier mapping per project.
255
+
256
+ More in the [wiki FAQ](wiki/FAQ.md).
257
+
258
+ ## Roadmap
259
+
260
+ 0.2: exercise Codex, Cursor, OpenCode and Copilot outputs for real; eval cases per agent; a shared
261
+ MCP server list; Gemini CLI extension. 0.3: Windsurf/Devin, Cline, Kiro, Amp, Augment; `upgrade`;
262
+ an example project built end to end. Full list: [docs/08-roadmap.md](docs/08-roadmap.md).
263
+
264
+ ## Contributing
265
+
266
+ `npm test` validates the pack (front matter, tier consistency, Agent Skills spec fields, size
267
+ budgets) and runs the smoke test (init for every preset and tool, idempotent sync, protection of
268
+ hand-written files). See [CONTRIBUTING.md](CONTRIBUTING.md), [SECURITY.md](SECURITY.md) and the
269
+ [code of conduct](CODE_OF_CONDUCT.md).
270
+
271
+ ## Acknowledgements
272
+
273
+ anycrew stands on the work of others: the spec loop and constitution from
274
+ [spec-kit](https://github.com/github/spec-kit) and Kiro; brainstorm-first skills from
275
+ [superpowers](https://github.com/obra/superpowers) and Compound Engineering; per-agent model
276
+ selection from [wshobson/agents](https://github.com/wshobson/agents) and oh-my-claudecode; the
277
+ open formats [AGENTS.md](https://agents.md), [Agent Skills](https://agentskills.io) and
278
+ [Agent Plugins](https://agent-plugins.org); and the ADR format from Michael Nygard.
279
+
280
+ ## Licence
281
+
282
+ [MIT](LICENSE).
@@ -0,0 +1,261 @@
1
+ <p align="center">
2
+ <img src="assets/logo.svg" alt="anycrew" width="620">
3
+ </p>
4
+
5
+ <p align="center">
6
+ <strong>One crew of specialist AI agents for any coding assistant.</strong><br>
7
+ Spec-driven · test-first · security-reviewed · model-tiered
8
+ </p>
9
+
10
+ <p align="center">
11
+ <a href="https://github.com/fadlytanjung/anycrew/actions/workflows/ci.yml"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/fadlytanjung/anycrew/ci.yml?branch=main&label=ci"></a>
12
+ <a href="https://www.npmjs.com/package/anycrew"><img alt="npm" src="https://img.shields.io/npm/v/anycrew?color=0284c7"></a>
13
+ <img alt="node" src="https://img.shields.io/badge/node-%E2%89%A518-339933?logo=node.js&logoColor=white">
14
+ <img alt="dependencies" src="https://img.shields.io/badge/dependencies-0-0284c7">
15
+ <a href="LICENSE"><img alt="MIT" src="https://img.shields.io/badge/license-MIT-blue"></a>
16
+ <br>
17
+ <img alt="Claude Code" src="https://img.shields.io/badge/Claude_Code-000?logo=anthropic&logoColor=white">
18
+ <img alt="Codex" src="https://img.shields.io/badge/OpenAI_Codex-412991?logo=openai&logoColor=white">
19
+ <img alt="Antigravity" src="https://img.shields.io/badge/Antigravity-4285F4?logo=google&logoColor=white">
20
+ <img alt="Cursor" src="https://img.shields.io/badge/Cursor-111827">
21
+ <img alt="OpenCode" src="https://img.shields.io/badge/OpenCode-1f2937">
22
+ <img alt="Copilot" src="https://img.shields.io/badge/GitHub_Copilot-24292e?logo=github&logoColor=white">
23
+ </p>
24
+
25
+ ---
26
+
27
+ anycrew installs a ready-made engineering team into the coding assistant you already use. Sixteen
28
+ agents (brainstormer, product manager, architect, designer, spec writer, implementer, tester,
29
+ reviewer, security reviewer, debugger, AI engineer, release engineer, doc writer, scout, crew lead)
30
+ follow one method from idea to a deployed MVP, and leave behind the documents a team can review: a
31
+ constitution, a PRD, ADRs, specs with acceptance criteria, and a status page that says what is
32
+ really built. Each agent declares how much model it needs, so cheap work runs on cheap models.
33
+
34
+ ```bash
35
+ npx anycrew init # once published to npm
36
+ npx github:fadlytanjung/anycrew init # works today, straight from this repository
37
+ ```
38
+
39
+ > **Status: 0.1.0, early.** Claude Code and Antigravity outputs are verified end to end; Codex,
40
+ > Cursor, OpenCode and Copilot outputs follow their documentation and are being exercised next.
41
+ > See the [tool matrix](docs/04-tool-matrix.md). Feedback and PRs welcome.
42
+
43
+ ## Contents
44
+
45
+ - [Why anycrew](#why-anycrew)
46
+ - [Concepts in two minutes](#concepts-in-two-minutes)
47
+ - [What you get](#what-you-get)
48
+ - [Quick start](#quick-start)
49
+ - [Install the pack globally](#install-the-pack-globally)
50
+ - [How it works](#how-it-works)
51
+ - [The crew](#the-crew)
52
+ - [Model tiers](#model-tiers)
53
+ - [What `init` writes](#what-init-writes)
54
+ - [Documentation and wiki](#documentation-and-wiki)
55
+ - [FAQ](#faq)
56
+ - [Roadmap](#roadmap)
57
+ - [Contributing](#contributing)
58
+ - [Acknowledgements](#acknowledgements)
59
+ - [Licence](#licence)
60
+
61
+ ## Why anycrew
62
+
63
+ Every new project with a coding assistant repeats the same setup: an agent guide, rules, a handful
64
+ of slash commands, a constitution, a docs skeleton, a spec loop, quality gates, a status page. Each
65
+ assistant wants those in a different folder with a different front matter. The packs that exist are
66
+ tied to one assistant, or ship skills without a team, or ship a method without the security,
67
+ testing, docs and release roles an MVP needs. None of them says which model each role needs.
68
+
69
+ anycrew is the boilerplate for the **team**, not for the stack. A preset describes your stack's
70
+ commands and conventions; anycrew never forces a framework, a cloud or a language.
71
+
72
+ ## Concepts in two minutes
73
+
74
+ Every term has a page in the [wiki](wiki/Home.md). The short version:
75
+
76
+ | Term | Means | In anycrew |
77
+ |---|---|---|
78
+ | **SDD** (spec-driven development) | write and approve the spec first, implement from it, change both together | the whole method; `rules/00-sdd-process.md` |
79
+ | **Constitution** | the short list of principles every change is checked against | `docs/00-constitution.md`, created by `init` |
80
+ | **PRD** (product requirements document) | who it is for, what they need, scope by priority, requirements with IDs | `docs/03`, written by `/crew-prd` |
81
+ | **ADR** (architecture decision record) | one decision that is expensive to reverse: context, options, decision, consequences | `docs/adr/ADR-NNN-*.md`, written by `/crew-adr` |
82
+ | **AC** (acceptance criterion) | one testable Given/When/Then statement, `AC-NNN-n` | in every spec; test names and commits cite them |
83
+ | **Spec · plan · tasks** | what and why · how and which files · ordered test-first checklist | `docs/specs/NNN-name/`, the unit of work |
84
+ | **Implementation status** | the only doc that says what is actually built, with the test that proves it | `docs/20`, kept true by `/crew-checkpoint` |
85
+ | **Gate** | a point where a person decides before the next phase | decision, P0 scope, ADRs, spec Ready, production deploy |
86
+ | **Agent** | a specialist with its own prompt, tools and model the assistant delegates to | 16 in `agents/` |
87
+ | **Skill** | a procedure loaded on demand, typed as `/name` | 22 `/crew-*` in `skills/` |
88
+ | **Rule** | always-on or path-scoped guidance | 6 in `rules/`, plus stack rules from your preset |
89
+ | **Tier** | how much model an agent needs: `fast`, `balanced`, `strong` | mapped per assistant in `models.json` |
90
+ | **Preset** | a JSON description of a stack: commands, layout, conventions | `presets/`, or your own file |
91
+ | **Hook** | a command the assistant runs at an event, e.g. after a file edit | lint-after-edit, wired into each assistant |
92
+
93
+ ## What you get
94
+
95
+ | | |
96
+ |---|---|
97
+ | **16 agents** | each with a job, inputs, outputs, a procedure, rules, stop conditions and a **model tier** |
98
+ | **22 skills** (`/crew-*`) | the workflow as slash commands: status, brainstorm, research, prd, architecture, adr, design, spec, plan, tasks, implement, test, review, security, verify, debug, checkpoint, deploy-check, docs, llm, sync, init |
99
+ | **6 rules** | spec-driven process, architecture boundaries, security and data, LLM features, testing, docs and status; plus backend and frontend rules generated from your preset |
100
+ | **Docs skeleton** | constitution, brainstorm, research, PRD, traceability, architecture, data model, API, frontend, design system, conventions, security, testing, infra, observability, delivery plan, status, ADRs, specs |
101
+ | **Presets** | `python-fastapi-react`, `node-typescript-next`, `go-service`, `generic`; write your own in one JSON file |
102
+ | **Hook** | a tool-agnostic lint-after-edit hook wired into each assistant |
103
+ | **One CLI** | `npx anycrew init` generates every assistant's native files from one source; `sync` keeps them current without touching your edits; zero dependencies |
104
+
105
+ ## Quick start
106
+
107
+ ```bash
108
+ cd your-project
109
+ npx anycrew init --preset python-fastapi-react --tools claude,codex,antigravity
110
+ # or just: npx anycrew init (detects the assistants on your machine)
111
+ # until the npm release lands, use the same commands with: npx github:fadlytanjung/anycrew
112
+
113
+ npx anycrew doctor # what each assistant will read
114
+ npx anycrew list # agents, tiers and the model each assistant will use
115
+ ```
116
+
117
+ Then open your assistant in the folder and type `/crew-status`. For a new idea, `/crew-brainstorm`;
118
+ for an existing codebase, `/crew-spec`.
119
+
120
+ ## Install the pack globally
121
+
122
+ | Assistant | Command |
123
+ |---|---|
124
+ | Claude Code | `claude plugin marketplace add fadlytanjung/anycrew && claude plugin install anycrew@anycrew` |
125
+ | Antigravity | `agy plugin install https://github.com/fadlytanjung/anycrew` |
126
+ | Codex | `codex plugin marketplace add fadlytanjung/anycrew` then `/plugins` |
127
+ | Copilot CLI | `copilot plugin install fadlytanjung/anycrew` |
128
+ | Cursor | Customize → Install, point at the repository (Agent Plugins manifest) |
129
+ | Skills only, any assistant | `npx skills add fadlytanjung/anycrew` |
130
+
131
+ A global install gives you the agents and skills everywhere. `npx anycrew init` in a project adds
132
+ the docs skeleton, the stack rules, the hooks and the per-project model overrides.
133
+
134
+ ## How it works
135
+
136
+ ```mermaid
137
+ flowchart LR
138
+ idea["Idea"] --> b["/crew-brainstorm<br/>docs/01 decision"]
139
+ b --> p["/crew-prd<br/>docs/03 PRD, FR/NFR"]
140
+ p --> a["/crew-architecture<br/>docs/05, 09, 10, ADRs"]
141
+ a --> s["/crew-spec<br/>spec · plan · tasks"]
142
+ s --> i["/crew-implement<br/>TDD, one task, one commit"]
143
+ i --> r["/crew-review · /crew-security<br/>findings with evidence"]
144
+ r --> d["/crew-deploy-check<br/>checklist, rollback"]
145
+ d --> c["/crew-checkpoint · /crew-docs<br/>status that is true"]
146
+ i -. "/crew-debug · /crew-test" .-> i
147
+ ```
148
+
149
+ Each skill delegates to one agent at its tier. The crew lead sequences the phases and keeps a
150
+ person at every gate. Agents never approve their own work.
151
+
152
+ ## The crew
153
+
154
+ | Agent | Tier | Does |
155
+ |---|---|---|
156
+ | crew-lead | strong | routes a request through the phases; never codes |
157
+ | scout | fast | finds what exists, read-only, before anyone guesses |
158
+ | brainstormer | strong | idea → problem scan → scored options → decision (`docs/01`) |
159
+ | researcher | balanced | facts with sources and confidence (`docs/02`) |
160
+ | product-manager | strong | personas, journeys, P0/P1/P2, FR/NFR (`docs/03`, `04`) |
161
+ | architect | strong | containers, boundaries, data model, API contract, ADRs |
162
+ | designer | balanced | screens, states, tokens, responsive and accessibility rules |
163
+ | ai-engineer | strong | model/code boundary, prompts as files, schemas, grounding, evals |
164
+ | spec-writer | strong | spec, plan, tasks with acceptance criteria |
165
+ | implementer | balanced | one task, test first, smallest change, one commit |
166
+ | tester | balanced | AC → test map, fixtures, boundary and property tests, evals |
167
+ | debugger | strong | reproduce, isolate, root cause, regression test |
168
+ | reviewer | strong | findings with file:line and a failure scenario; drift audit |
169
+ | security-reviewer | strong | threat model, OWASP and LLM top-10 audit, test per fix |
170
+ | release-engineer | balanced | build, pipeline, deploy, rollback, observability, cost guardrails |
171
+ | doc-writer | fast | README, docs index, changelog, the status page |
172
+
173
+ ## Model tiers
174
+
175
+ | Tier | Claude Code | Antigravity | Codex | OpenCode | Used by |
176
+ |---|---|---|---|---|---|
177
+ | fast | haiku, low effort | flash | low effort | claude-haiku | scout, doc-writer |
178
+ | balanced | sonnet, medium | flash | medium | claude-sonnet | implementer, tester, researcher, designer, release-engineer |
179
+ | strong | opus, high | pro | high | claude-opus | brainstormer, product-manager, architect, spec-writer, reviewer, security-reviewer, debugger, ai-engineer, crew-lead |
180
+
181
+ Override any cell per project in `.anycrew/config.json` under `models`. Cursor and Copilot default
182
+ to `inherit` until you set model IDs. Details: [docs/03-model-tiers.md](docs/03-model-tiers.md).
183
+
184
+ ## What `init` writes
185
+
186
+ ```
187
+ your-project/
188
+ ├── AGENTS.md agent guide, read by every assistant (yours to edit)
189
+ ├── CLAUDE.md @AGENTS.md
190
+ ├── docs/ constitution, status, specs index, ADR and spec templates (yours)
191
+ ├── .anycrew/config.json preset, tools, model overrides
192
+ ├── .anycrew/hooks/ lint-after-edit.sh
193
+ ├── .agents/rules|skills|agents universal layer: Codex, Antigravity, Cursor, Copilot, OpenCode
194
+ ├── .claude/agents|skills|rules + settings.json hooks
195
+ ├── .codex/agents/*.toml
196
+ ├── .cursor/rules/*.mdc, agents/, hooks.json
197
+ ├── .opencode/agents/
198
+ └── .github/copilot-instructions.md, instructions/, agents/, hooks/
199
+ ```
200
+
201
+ Generated files carry an `anycrew:generated` marker; `sync` rewrites only those and reports the
202
+ rest. `AGENTS.md` and everything under `docs/` are created once and then belong to you.
203
+
204
+ ## Documentation and wiki
205
+
206
+ | Where | What |
207
+ |---|---|
208
+ | [wiki/](wiki/Home.md) | every term and concept, one page each: SDD, constitution, PRD, ACs, ADRs, spec loop, status, gates, agents vs skills vs rules, tiers, hooks, presets, standards, glossary, FAQ |
209
+ | [docs/00-vision.md](docs/00-vision.md) | what anycrew is and is not |
210
+ | [docs/01-method.md](docs/01-method.md) | the lifecycle, artifacts, gates, who does what |
211
+ | [docs/02-agents.md](docs/02-agents.md) | the roster and how to customise it |
212
+ | [docs/03-model-tiers.md](docs/03-model-tiers.md) | tiers and the mapping per assistant |
213
+ | [docs/04-tool-matrix.md](docs/04-tool-matrix.md) | what each assistant reads, install, verification status |
214
+ | [docs/05-landscape.md](docs/05-landscape.md) | comparison with BMAD, superpowers, spec-kit, wshobson/agents and others |
215
+ | [docs/06-project-layout.md](docs/06-project-layout.md) | the docs skeleton and the spec loop in a project |
216
+ | [docs/07-presets.md](docs/07-presets.md) | stack presets and writing your own |
217
+ | [docs/08-roadmap.md](docs/08-roadmap.md) | what is next |
218
+ | [docs/adr/](docs/adr/README.md) | decisions about anycrew itself |
219
+
220
+ The `wiki/` folder is published to the GitHub wiki on every push to `main`.
221
+
222
+ ## FAQ
223
+
224
+ **Is this a framework like CrewAI or LangGraph?** No. Those run agents inside your product. anycrew
225
+ is a crew that helps you build your product inside your coding assistant.
226
+
227
+ **Will it overwrite my CLAUDE.md, rules or agents?** No. `init` never touches `AGENTS.md`, `docs/`
228
+ or any file without the `anycrew:generated` marker; it reports them instead.
229
+
230
+ **Do I have to use the whole method?** No. Each skill works alone; the gates and IDs pay off most
231
+ when the loop is used end to end.
232
+
233
+ **Can I use cheaper models everywhere?** Yes: override the tier mapping per project.
234
+
235
+ More in the [wiki FAQ](wiki/FAQ.md).
236
+
237
+ ## Roadmap
238
+
239
+ 0.2: exercise Codex, Cursor, OpenCode and Copilot outputs for real; eval cases per agent; a shared
240
+ MCP server list; Gemini CLI extension. 0.3: Windsurf/Devin, Cline, Kiro, Amp, Augment; `upgrade`;
241
+ an example project built end to end. Full list: [docs/08-roadmap.md](docs/08-roadmap.md).
242
+
243
+ ## Contributing
244
+
245
+ `npm test` validates the pack (front matter, tier consistency, Agent Skills spec fields, size
246
+ budgets) and runs the smoke test (init for every preset and tool, idempotent sync, protection of
247
+ hand-written files). See [CONTRIBUTING.md](CONTRIBUTING.md), [SECURITY.md](SECURITY.md) and the
248
+ [code of conduct](CODE_OF_CONDUCT.md).
249
+
250
+ ## Acknowledgements
251
+
252
+ anycrew stands on the work of others: the spec loop and constitution from
253
+ [spec-kit](https://github.com/github/spec-kit) and Kiro; brainstorm-first skills from
254
+ [superpowers](https://github.com/obra/superpowers) and Compound Engineering; per-agent model
255
+ selection from [wshobson/agents](https://github.com/wshobson/agents) and oh-my-claudecode; the
256
+ open formats [AGENTS.md](https://agents.md), [Agent Skills](https://agentskills.io) and
257
+ [Agent Plugins](https://agent-plugins.org); and the ADR format from Michael Nygard.
258
+
259
+ ## Licence
260
+
261
+ [MIT](LICENSE).
@@ -0,0 +1,50 @@
1
+ ---
2
+ name: ai-engineer
3
+ description: "Designs and reviews the model-backed parts of the product (docs/06): which steps are a model call and which are code, prompts as versioned files with output schemas, grounding and citations, untrusted-content framing, model choice and cost per call, evals and tracing. Use when a feature calls an LLM, when building a multi-agent system, or when model output quality or cost is in question."
4
+ tier: strong
5
+ model: opus
6
+ phase: design
7
+ reads: [docs/05-architecture.md, docs/06-agent-design.md, docs/00-constitution.md, rules/50-llm-features.md]
8
+ writes: [docs/06-agent-design.md, prompts, output schemas, evals]
9
+ tools: Read, Grep, Glob, Write, Edit, Bash, WebSearch, WebFetch
10
+ ---
11
+
12
+ # AI engineer
13
+
14
+ You decide where a model belongs and where it does not, and you make model calls boring:
15
+ versioned, schema-checked, grounded, measured and cheap enough.
16
+
17
+ ## Procedure
18
+
19
+ 1. **Draw the model/code boundary.** For each step of the feature: does it need judgement
20
+ (read, classify, map, explain, converse) or correctness (compute, match, decide, mutate)?
21
+ Judgement may be a model call; correctness is code. Write the table in `docs/06`.
22
+ 2. **Design each call.** Purpose, inputs (with the untrusted parts marked), output schema
23
+ (strict, validated before use), model tier (fast for classification and extraction, strong
24
+ for reasoning and prose), temperature, timeout, retry and fallback, cost per call and per
25
+ user action.
26
+ 3. **Prompts as files.** `prompts/<id>.md` with front matter `id`, `version`, `model`,
27
+ `output_schema`. No prompt text in code. Bump the version on every change and re-run the
28
+ evals and recordings that depend on it.
29
+ 4. **Untrusted content.** Documents, retrieved chunks, tool results and user text are data, never
30
+ instructions: framed as such, passed as separate parts, never allowed to change tool
31
+ permissions or policy. Tools exposed to a model are read-only and scoped unless an ADR says
32
+ otherwise.
33
+ 5. **Grounding.** Every number or claim a model writes for a user cites a source the code can
34
+ verify (an ID, a page, a chunk). Code decides whether a citation holds; the model never grades
35
+ itself.
36
+ 6. **Evals.** A dataset with expected outcomes, scorers (exact, schema, judge where needed), a
37
+ report checked into docs. Evals run on demand and are not a merge gate.
38
+ 7. **Observability.** One trace per run with a span per call; token and cost accounting; content
39
+ capture off by default and only on with synthetic data.
40
+ 8. **Multi-agent systems.** Each agent has one job, a schema for its result, an idempotency key
41
+ and a small return value; large data stays in storage. Orchestration is code (a graph or a
42
+ workflow), not a conversation.
43
+
44
+ ## Rules
45
+
46
+ - Models never compute money, totals, matches, risk levels or state changes.
47
+ - The cheapest model that passes the eval wins; record the comparison.
48
+ - Model IDs and regions are configuration, never literals.
49
+ - A prompt that sees content includes the untrusted-content framing, always.
50
+ - Anything a model proposes about the user's own data is a suggestion until a person accepts it.