@flydocs/cli 0.5.0-beta.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.
- package/README.md +96 -0
- package/dist/cli.js +2666 -0
- package/package.json +32 -0
- package/template/.claude/CLAUDE.md +90 -0
- package/template/.claude/agents/README.md +19 -0
- package/template/.claude/agents/implementation-agent.md +29 -0
- package/template/.claude/agents/pm-agent.md +29 -0
- package/template/.claude/agents/research-agent.md +25 -0
- package/template/.claude/agents/review-agent.md +29 -0
- package/template/.claude/commands/activate.md +10 -0
- package/template/.claude/commands/attach.md +9 -0
- package/template/.claude/commands/block.md +10 -0
- package/template/.claude/commands/capture.md +10 -0
- package/template/.claude/commands/close.md +10 -0
- package/template/.claude/commands/flydocs-setup.md +598 -0
- package/template/.claude/commands/flydocs-update.md +27 -0
- package/template/.claude/commands/implement.md +10 -0
- package/template/.claude/commands/new-project.md +11 -0
- package/template/.claude/commands/project-update.md +10 -0
- package/template/.claude/commands/refine.md +10 -0
- package/template/.claude/commands/review.md +10 -0
- package/template/.claude/commands/start-session.md +10 -0
- package/template/.claude/commands/status.md +10 -0
- package/template/.claude/commands/validate.md +10 -0
- package/template/.claude/commands/wrap-session.md +10 -0
- package/template/.claude/settings.json +49 -0
- package/template/.claude/skills/README.md +293 -0
- package/template/.claude/skills/flydocs-cloud/SKILL.md +96 -0
- package/template/.claude/skills/flydocs-cloud/cursor-rule.mdc +50 -0
- package/template/.claude/skills/flydocs-cloud/scripts/assign.py +38 -0
- package/template/.claude/skills/flydocs-cloud/scripts/assign_cycle.py +44 -0
- package/template/.claude/skills/flydocs-cloud/scripts/assign_milestone.py +44 -0
- package/template/.claude/skills/flydocs-cloud/scripts/comment.py +39 -0
- package/template/.claude/skills/flydocs-cloud/scripts/create_issue.py +100 -0
- package/template/.claude/skills/flydocs-cloud/scripts/create_milestone.py +46 -0
- package/template/.claude/skills/flydocs-cloud/scripts/create_project.py +40 -0
- package/template/.claude/skills/flydocs-cloud/scripts/estimate.py +38 -0
- package/template/.claude/skills/flydocs-cloud/scripts/flydocs_api.py +277 -0
- package/template/.claude/skills/flydocs-cloud/scripts/get_issue.py +77 -0
- package/template/.claude/skills/flydocs-cloud/scripts/link.py +47 -0
- package/template/.claude/skills/flydocs-cloud/scripts/list_cycles.py +35 -0
- package/template/.claude/skills/flydocs-cloud/scripts/list_issues.py +105 -0
- package/template/.claude/skills/flydocs-cloud/scripts/list_milestones.py +40 -0
- package/template/.claude/skills/flydocs-cloud/scripts/list_projects.py +45 -0
- package/template/.claude/skills/flydocs-cloud/scripts/priority.py +38 -0
- package/template/.claude/skills/flydocs-cloud/scripts/project_update.py +59 -0
- package/template/.claude/skills/flydocs-cloud/scripts/transition.py +67 -0
- package/template/.claude/skills/flydocs-cloud/scripts/update_description.py +47 -0
- package/template/.claude/skills/flydocs-cloud/scripts/update_issue.py +111 -0
- package/template/.claude/skills/flydocs-context-graph/SKILL.md +87 -0
- package/template/.claude/skills/flydocs-context-graph/schema.md +78 -0
- package/template/.claude/skills/flydocs-context-graph/scripts/graph_build.py +299 -0
- package/template/.claude/skills/flydocs-context-graph/scripts/graph_context.py +338 -0
- package/template/.claude/skills/flydocs-context-graph/scripts/graph_query.py +191 -0
- package/template/.claude/skills/flydocs-context-graph/scripts/graph_session.py +161 -0
- package/template/.claude/skills/flydocs-context-graph/scripts/graph_update.py +194 -0
- package/template/.claude/skills/flydocs-context-graph/scripts/graph_utils.py +118 -0
- package/template/.claude/skills/flydocs-estimates/SKILL.md +384 -0
- package/template/.claude/skills/flydocs-estimates/references/provider-costs.md +152 -0
- package/template/.claude/skills/flydocs-figma/SKILL.md +377 -0
- package/template/.claude/skills/flydocs-figma/references/PROMPTING.md +108 -0
- package/template/.claude/skills/flydocs-figma/references/TROUBLESHOOTING.md +112 -0
- package/template/.claude/skills/flydocs-local/SKILL.md +103 -0
- package/template/.claude/skills/flydocs-local/cursor-rule.mdc +43 -0
- package/template/.claude/skills/flydocs-local/scripts/assign.py +20 -0
- package/template/.claude/skills/flydocs-local/scripts/comment.py +27 -0
- package/template/.claude/skills/flydocs-local/scripts/create_issue.py +44 -0
- package/template/.claude/skills/flydocs-local/scripts/estimate.py +37 -0
- package/template/.claude/skills/flydocs-local/scripts/flydocs_api.py +272 -0
- package/template/.claude/skills/flydocs-local/scripts/get_issue.py +20 -0
- package/template/.claude/skills/flydocs-local/scripts/link.py +41 -0
- package/template/.claude/skills/flydocs-local/scripts/list_issues.py +34 -0
- package/template/.claude/skills/flydocs-local/scripts/priority.py +37 -0
- package/template/.claude/skills/flydocs-local/scripts/project_update.py +67 -0
- package/template/.claude/skills/flydocs-local/scripts/status_summary.py +16 -0
- package/template/.claude/skills/flydocs-local/scripts/transition.py +24 -0
- package/template/.claude/skills/flydocs-local/scripts/update_description.py +35 -0
- package/template/.claude/skills/flydocs-local/scripts/update_issue.py +84 -0
- package/template/.claude/skills/flydocs-workflow/SKILL.md +85 -0
- package/template/.claude/skills/flydocs-workflow/cursor-rule.mdc +53 -0
- package/template/.claude/skills/flydocs-workflow/reference/comment-templates.md +131 -0
- package/template/.claude/skills/flydocs-workflow/reference/golden-rules.md +76 -0
- package/template/.claude/skills/flydocs-workflow/reference/priority-estimates.md +28 -0
- package/template/.claude/skills/flydocs-workflow/reference/status-workflow.md +50 -0
- package/template/.claude/skills/flydocs-workflow/session.md +128 -0
- package/template/.claude/skills/flydocs-workflow/stages/activate.md +46 -0
- package/template/.claude/skills/flydocs-workflow/stages/capture.md +50 -0
- package/template/.claude/skills/flydocs-workflow/stages/close.md +32 -0
- package/template/.claude/skills/flydocs-workflow/stages/implement.md +124 -0
- package/template/.claude/skills/flydocs-workflow/stages/refine.md +51 -0
- package/template/.claude/skills/flydocs-workflow/stages/review.md +86 -0
- package/template/.claude/skills/flydocs-workflow/stages/validate.md +90 -0
- package/template/.claude/skills/flydocs-workflow/templates/bug.md +95 -0
- package/template/.claude/skills/flydocs-workflow/templates/chore.md +75 -0
- package/template/.claude/skills/flydocs-workflow/templates/feature.md +93 -0
- package/template/.claude/skills/flydocs-workflow/templates/idea.md +84 -0
- package/template/.cursor/agents/implementation-agent.md +28 -0
- package/template/.cursor/agents/pm-agent.md +27 -0
- package/template/.cursor/agents/research-agent.md +23 -0
- package/template/.cursor/agents/review-agent.md +27 -0
- package/template/.cursor/hooks.json +29 -0
- package/template/.cursor/mcp.json +16 -0
- package/template/.env.example +44 -0
- package/template/.flydocs/config.json +104 -0
- package/template/.flydocs/hooks/auto-approve.py +71 -0
- package/template/.flydocs/hooks/post-edit.py +72 -0
- package/template/.flydocs/hooks/prefer-scripts.py +89 -0
- package/template/.flydocs/hooks/prompt-submit.py +277 -0
- package/template/.flydocs/scripts/generate_manifest.py +287 -0
- package/template/.flydocs/scripts/skill_manager.py +541 -0
- package/template/.flydocs/templates/README.md +46 -0
- package/template/.flydocs/templates/bug.md +166 -0
- package/template/.flydocs/templates/chore.md +110 -0
- package/template/.flydocs/templates/design-system/README.md +27 -0
- package/template/.flydocs/templates/design-system/component-patterns.md +92 -0
- package/template/.flydocs/templates/design-system/token-mapping.md +168 -0
- package/template/.flydocs/templates/feature.md +173 -0
- package/template/.flydocs/templates/idea.md +122 -0
- package/template/.flydocs/templates/instructions.md +228 -0
- package/template/.flydocs/templates/quick-capture.md +35 -0
- package/template/.flydocs/templates/scripts/check-design-system.template.mjs +179 -0
- package/template/.flydocs/version +1 -0
- package/template/AGENTS.md +95 -0
- package/template/CHANGELOG.md +271 -0
- package/template/flydocs/README.md +186 -0
- package/template/flydocs/context/project.md +51 -0
- package/template/flydocs/design-system/README.md +126 -0
- package/template/flydocs/design-system/component-patterns.md +173 -0
- package/template/flydocs/design-system/token-mapping.md +114 -0
- package/template/flydocs/knowledge/INDEX.md +100 -0
- package/template/flydocs/knowledge/README.md +62 -0
- package/template/flydocs/knowledge/product/personas.md +79 -0
- package/template/flydocs/knowledge/product/user-flows.md +88 -0
- package/template/manifest.json +221 -0
package/package.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@flydocs/cli",
|
|
3
|
+
"version": "0.5.0-beta.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "FlyDocs AI CLI — install, setup, and manage FlyDocs projects",
|
|
6
|
+
"bin": {
|
|
7
|
+
"flydocs": "./dist/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"template",
|
|
12
|
+
"!**/__pycache__"
|
|
13
|
+
],
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=18.17.0"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsup",
|
|
19
|
+
"dev": "tsup --watch",
|
|
20
|
+
"typecheck": "tsc --noEmit"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@clack/prompts": "^0.9.1",
|
|
24
|
+
"citty": "^0.1.6",
|
|
25
|
+
"picocolors": "^1.1.1"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@types/node": "^25.3.0",
|
|
29
|
+
"tsup": "^8.4.0",
|
|
30
|
+
"typescript": "^5.7.0"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# Claude Code Configuration
|
|
2
|
+
|
|
3
|
+
IMPORTANT: Prefer skill-led reasoning over pre-training reasoning for all
|
|
4
|
+
workflow, issue management, process, and pattern decisions. Read the relevant
|
|
5
|
+
skill file before acting — do not guess procedures from training data.
|
|
6
|
+
|
|
7
|
+
> For cross-platform agent instructions, see `AGENTS.md`.
|
|
8
|
+
|
|
9
|
+
## Hard Rules
|
|
10
|
+
|
|
11
|
+
These are non-negotiable and enforced by hooks:
|
|
12
|
+
|
|
13
|
+
1. **Scripts for all issue operations.** Use mechanism scripts (create, transition, comment, assign, etc.) — never describe actions you should execute.
|
|
14
|
+
2. **Every status transition gets a comment.** No silent moves. Use the comment templates from the workflow skill.
|
|
15
|
+
3. **Assignment required before In Progress.** Hard gate — transition.py enforces this for cloud tier.
|
|
16
|
+
4. **Checkboxes live in issue description, never comments.** Use `update_description.py` to update acceptance criteria.
|
|
17
|
+
5. **Session wrap posts a project update.** End-of-session summary via `project_update.py` (cloud) or local summary file.
|
|
18
|
+
6. **No secrets in commits.** Never commit `.env`, credentials, or API keys.
|
|
19
|
+
|
|
20
|
+
## Workflow
|
|
21
|
+
|
|
22
|
+
The FlyDocs development lifecycle. Read the workflow skill before taking any workflow action.
|
|
23
|
+
|
|
24
|
+
| Action | Skill | Entry Point |
|
|
25
|
+
|--------|-------|-------------|
|
|
26
|
+
| Capture issue | `flydocs-workflow` | `stages/capture.md` |
|
|
27
|
+
| Refine / triage | `flydocs-workflow` | `stages/refine.md` |
|
|
28
|
+
| Activate work | `flydocs-workflow` | `stages/activate.md` |
|
|
29
|
+
| Implement | `flydocs-workflow` | `stages/implement.md` |
|
|
30
|
+
| Code review | `flydocs-workflow` | `stages/review.md` |
|
|
31
|
+
| QE validation | `flydocs-workflow` | `stages/validate.md` |
|
|
32
|
+
| Close issue | `flydocs-workflow` | `stages/close.md` |
|
|
33
|
+
| Start / wrap session | `flydocs-workflow` | `session.md` |
|
|
34
|
+
| Comment templates | `flydocs-workflow` | `reference/comment-templates.md` |
|
|
35
|
+
| Status transitions | `flydocs-workflow` | `reference/status-workflow.md` |
|
|
36
|
+
| Priority & estimates | `flydocs-workflow` | `reference/priority-estimates.md` |
|
|
37
|
+
| Issue templates | `flydocs-workflow` | `templates/` |
|
|
38
|
+
|
|
39
|
+
## Mechanism Scripts
|
|
40
|
+
|
|
41
|
+
Issue operations are handled by the installed mechanism skill. Only one is active at a time.
|
|
42
|
+
|
|
43
|
+
| Tier | Skill | Backend |
|
|
44
|
+
|------|-------|---------|
|
|
45
|
+
| Local (free) | `flydocs-local` | File-based (`flydocs/issues/`) |
|
|
46
|
+
| Cloud (connected) | `flydocs-cloud` | Linear GraphQL API |
|
|
47
|
+
|
|
48
|
+
Read the active mechanism skill's `SKILL.md` for script catalog and calling conventions.
|
|
49
|
+
|
|
50
|
+
**Shared contract scripts** (both tiers implement):
|
|
51
|
+
`create_issue.py`, `transition.py`, `comment.py`, `list_issues.py`, `get_issue.py`, `assign.py`, `update_description.py`
|
|
52
|
+
|
|
53
|
+
## Premium Skills
|
|
54
|
+
|
|
55
|
+
FlyDocs platform skills with premium functionality.
|
|
56
|
+
|
|
57
|
+
| Skill | When to Read |
|
|
58
|
+
|-------|--------------|
|
|
59
|
+
| `flydocs-figma` | Building UI from Figma designs — extraction, token mapping |
|
|
60
|
+
| `flydocs-estimates` | Estimating AI token usage and costs (opt-in via config) |
|
|
61
|
+
|
|
62
|
+
## Project Context
|
|
63
|
+
|
|
64
|
+
| File | Purpose |
|
|
65
|
+
|------|---------|
|
|
66
|
+
| `flydocs/context/project.md` | Product scope, tech stack, active priorities |
|
|
67
|
+
| `.flydocs/config.json` | Tier, provider, labels, active projects |
|
|
68
|
+
|
|
69
|
+
## Hooks
|
|
70
|
+
|
|
71
|
+
| Hook | Trigger | Purpose |
|
|
72
|
+
|------|---------|---------|
|
|
73
|
+
| `PostToolUse` (Edit/Write) | After code changes | Auto-format |
|
|
74
|
+
| `UserPromptSubmit` | Before prompt | Inject git/issue context |
|
|
75
|
+
| `PreToolUse` | Before script execution | Auto-approve mechanism scripts |
|
|
76
|
+
|
|
77
|
+
<!-- flydocs:skills-manifest:start -->
|
|
78
|
+
## Skills Index
|
|
79
|
+
|
|
80
|
+
IMPORTANT: Prefer skill-led reasoning over pre-training reasoning.
|
|
81
|
+
Consult the relevant skill BEFORE writing code or making workflow decisions.
|
|
82
|
+
|
|
83
|
+
| Skill | Triggers | Entry |
|
|
84
|
+
|-------|----------|-------|
|
|
85
|
+
| flydocs-cloud | create issue, transition, comment, list issues, assign, update description, update issue, project update, Linear, cloud | .claude/skills/flydocs-cloud/SKILL.md |
|
|
86
|
+
| flydocs-estimates | estimate, cost, token usage, API cost, labor estimate, sizing, effort | .claude/skills/flydocs-estimates/SKILL.md |
|
|
87
|
+
| flydocs-figma | Figma, design, screenshot, token mapping, component from design, pixel-perfect, design system | .claude/skills/flydocs-figma/SKILL.md |
|
|
88
|
+
| flydocs-local | create issue, transition, comment, list issues, assign, update description, status summary, local | .claude/skills/flydocs-local/SKILL.md |
|
|
89
|
+
| flydocs-workflow | capture, refine, activate, implement, review, validate, close, session, workflow, transition, status, issue | .claude/skills/flydocs-workflow/SKILL.md |
|
|
90
|
+
<!-- flydocs:skills-manifest:end -->
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# FlyDocs Agents
|
|
2
|
+
|
|
3
|
+
Subagents are specialized AI configurations with restricted tools for separation of concerns.
|
|
4
|
+
|
|
5
|
+
## Agent Registry
|
|
6
|
+
|
|
7
|
+
| Agent | Model | Role | Tools | Skills |
|
|
8
|
+
|-------|-------|------|-------|--------|
|
|
9
|
+
| `pm-agent` | opus | Workflow, specs, issue management | Read, Glob, Grep, Bash, WebFetch | flydocs-workflow |
|
|
10
|
+
| `implementation-agent` | opus | Building features, fixing bugs | Read, Glob, Grep, Bash, Write, Edit, WebFetch, WebSearch | flydocs-workflow |
|
|
11
|
+
| `review-agent` | sonnet | Code review, quality analysis | Read, Glob, Grep, Bash | flydocs-workflow |
|
|
12
|
+
| `research-agent` | sonnet | Codebase exploration, context gathering | Read, Glob, Grep, WebFetch, WebSearch | flydocs-workflow |
|
|
13
|
+
|
|
14
|
+
## Design Principles
|
|
15
|
+
|
|
16
|
+
- **Skills do the teaching.** Agent body text describes role and constraints only. Procedures, checklists, and standards live in skills.
|
|
17
|
+
- **Tools enforce boundaries.** PM and review agents cannot Write/Edit. Research agent cannot run commands.
|
|
18
|
+
- **One workflow skill, shared.** All agents reference `flydocs-workflow` for lifecycle procedures.
|
|
19
|
+
- **Community skills are project-level.** Behavioral/pattern skills are installed per-project via skill discovery, not bundled in agents.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: implementation-agent
|
|
3
|
+
description: "Builds features, fixes bugs, writes code. Invoke for implementation, coding, or technical work."
|
|
4
|
+
model: opus
|
|
5
|
+
tools: [Read, Glob, Grep, Bash, Write, Edit, WebFetch, WebSearch, mcp__context7]
|
|
6
|
+
skills:
|
|
7
|
+
- flydocs-workflow
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Implementation Agent
|
|
11
|
+
|
|
12
|
+
Implementation agent for FlyDocs spec-driven development.
|
|
13
|
+
|
|
14
|
+
## Role
|
|
15
|
+
|
|
16
|
+
- Build features according to spec acceptance criteria
|
|
17
|
+
- Fix bugs following documented reproduction steps
|
|
18
|
+
- Write clean, tested code following project standards
|
|
19
|
+
- Document decisions and blockers via issue comments
|
|
20
|
+
- Simplify code before handoff to review
|
|
21
|
+
|
|
22
|
+
## Constraints
|
|
23
|
+
|
|
24
|
+
- **Scripts for issue updates** — use mechanism scripts for progress comments and transitions
|
|
25
|
+
- Follow installed community skills for code quality patterns
|
|
26
|
+
- Keep changes focused on the spec — don't over-engineer
|
|
27
|
+
|
|
28
|
+
Read `.claude/skills/flydocs-workflow/stages/implement.md` for the implementation procedure.
|
|
29
|
+
Read `flydocs/context/project.md` for stack and project-specific standards.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pm-agent
|
|
3
|
+
description: "Specs, workflow, issue management. Invoke for capturing, refining, activating, reviewing, closing, or session management."
|
|
4
|
+
model: opus
|
|
5
|
+
tools: [Read, Glob, Grep, Bash, WebFetch]
|
|
6
|
+
disallowedTools: [Write, Edit]
|
|
7
|
+
skills:
|
|
8
|
+
- flydocs-workflow
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# PM Agent
|
|
12
|
+
|
|
13
|
+
Product management agent for FlyDocs spec-driven workflow.
|
|
14
|
+
|
|
15
|
+
## Role
|
|
16
|
+
|
|
17
|
+
- Manage issues through the workflow lifecycle (capture → close)
|
|
18
|
+
- Refine specs using templates from the workflow skill
|
|
19
|
+
- Coordinate handoffs between implementation and review
|
|
20
|
+
- Post project updates and manage sessions
|
|
21
|
+
|
|
22
|
+
## Constraints
|
|
23
|
+
|
|
24
|
+
- **Read-only** — cannot modify code files (Write/Edit disabled)
|
|
25
|
+
- **Scripts for all issue ops** — read the mechanism skill's SKILL.md for calling conventions
|
|
26
|
+
- Defer technical decisions to implementation agent
|
|
27
|
+
|
|
28
|
+
Read `.claude/skills/flydocs-workflow/SKILL.md` for lifecycle and stage procedures.
|
|
29
|
+
Read `.flydocs/config.json` for project configuration.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: research-agent
|
|
3
|
+
description: "Codebase exploration and research. Invoke for understanding code structure, finding patterns, or gathering technical context."
|
|
4
|
+
model: sonnet
|
|
5
|
+
tools: [Read, Glob, Grep, WebFetch, WebSearch, mcp__context7]
|
|
6
|
+
disallowedTools: [Bash, Write, Edit]
|
|
7
|
+
skills:
|
|
8
|
+
- flydocs-workflow
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Research Agent
|
|
12
|
+
|
|
13
|
+
Research agent for exploring codebases and gathering context.
|
|
14
|
+
|
|
15
|
+
## Role
|
|
16
|
+
|
|
17
|
+
- Explore codebase structure and patterns
|
|
18
|
+
- Look up documentation and external references
|
|
19
|
+
- Gather technical context before implementation
|
|
20
|
+
- Answer questions about existing code
|
|
21
|
+
|
|
22
|
+
## Constraints
|
|
23
|
+
|
|
24
|
+
- **Read-only** — cannot modify files or run commands
|
|
25
|
+
- Reports findings — does not make decisions or implement changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: review-agent
|
|
3
|
+
description: "Code review and quality analysis. Invoke for reviewing implementations, checking quality, or validating acceptance criteria."
|
|
4
|
+
model: sonnet
|
|
5
|
+
tools: [Read, Glob, Grep, Bash]
|
|
6
|
+
disallowedTools: [Write, Edit]
|
|
7
|
+
skills:
|
|
8
|
+
- flydocs-workflow
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Review Agent
|
|
12
|
+
|
|
13
|
+
Code review agent — critical analysis, not rubber-stamping.
|
|
14
|
+
|
|
15
|
+
## Role
|
|
16
|
+
|
|
17
|
+
- Review code changes against acceptance criteria and project standards
|
|
18
|
+
- Identify bugs, pattern violations, security issues, performance problems
|
|
19
|
+
- Run automated tests and report results
|
|
20
|
+
- Present findings with severity (blocking / should fix / suggestion)
|
|
21
|
+
|
|
22
|
+
## Constraints
|
|
23
|
+
|
|
24
|
+
- **Read-only** — cannot modify code (Write/Edit disabled)
|
|
25
|
+
- **Cannot transition issues** — reports findings, PM agent handles state changes
|
|
26
|
+
- **Cannot approve on behalf of user** — presents review, user decides
|
|
27
|
+
|
|
28
|
+
Read `.claude/skills/flydocs-workflow/stages/review.md` for the review procedure.
|
|
29
|
+
Read `flydocs/context/project.md` for project-specific standards.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Activate (PM/Planning Agent)
|
|
2
|
+
|
|
3
|
+
Recommend or assign work and transition to In Progress.
|
|
4
|
+
|
|
5
|
+
Read `.claude/skills/flydocs-workflow/stages/activate.md` and follow the procedure.
|
|
6
|
+
Read the active mechanism skill's `SKILL.md` for script calling conventions.
|
|
7
|
+
|
|
8
|
+
Triggers: "activate", "start work on", "what should I work on"
|
|
9
|
+
|
|
10
|
+
$ARGUMENTS
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Block (Implementation Agent)
|
|
2
|
+
|
|
3
|
+
Move an issue to Blocked status with reason and optional blocker link.
|
|
4
|
+
|
|
5
|
+
Use `transition.py <ref> BLOCKED "<reason>"` from the active mechanism skill.
|
|
6
|
+
For dependency links (cloud only): use `link.py <ref> <blocker_ref> blocks`.
|
|
7
|
+
|
|
8
|
+
Triggers: "I'm blocked", "can't proceed", "stuck on"
|
|
9
|
+
|
|
10
|
+
$ARGUMENTS
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Capture (PM/Planning Agent)
|
|
2
|
+
|
|
3
|
+
Create a new issue from user input — feature, bug, chore, or idea.
|
|
4
|
+
|
|
5
|
+
Read `.claude/skills/flydocs-workflow/stages/capture.md` and follow the procedure.
|
|
6
|
+
Read the active mechanism skill's `SKILL.md` for script calling conventions.
|
|
7
|
+
|
|
8
|
+
Triggers: "capture that", "add to backlog", "found a bug", "new idea", "quick capture"
|
|
9
|
+
|
|
10
|
+
$ARGUMENTS
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Close (PM/Planning Agent)
|
|
2
|
+
|
|
3
|
+
Move a validated issue to its terminal state (Done, Archived, Canceled, Duplicate).
|
|
4
|
+
|
|
5
|
+
Read `.claude/skills/flydocs-workflow/stages/close.md` and follow the procedure.
|
|
6
|
+
Read the active mechanism skill's `SKILL.md` for script calling conventions.
|
|
7
|
+
|
|
8
|
+
Triggers: "close", "done", "archive", "cancel"
|
|
9
|
+
|
|
10
|
+
$ARGUMENTS
|