@flydocs/cli 0.6.0-alpha.3 → 0.6.0-alpha.30
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/dist/cli.js +2054 -470
- package/package.json +1 -1
- package/template/.claude/CLAUDE.md +43 -48
- package/template/.claude/agents/implementation-agent.md +1 -1
- package/template/.claude/agents/pm-agent.md +1 -1
- package/template/.claude/commands/activate.md +1 -1
- package/template/.claude/commands/attach.md +1 -1
- package/template/.claude/commands/block.md +2 -2
- package/template/.claude/commands/capture.md +1 -1
- package/template/.claude/commands/close.md +1 -1
- package/template/.claude/commands/flydocs-setup.md +359 -72
- package/template/.claude/commands/flydocs-upgrade.md +26 -27
- package/template/.claude/commands/implement.md +1 -1
- package/template/.claude/commands/knowledge.md +61 -0
- package/template/.claude/commands/new-project.md +1 -1
- package/template/.claude/commands/onboard.md +275 -0
- package/template/.claude/commands/project-update.md +1 -1
- package/template/.claude/commands/refine.md +1 -1
- package/template/.claude/commands/review.md +1 -1
- package/template/.claude/commands/start-session.md +1 -1
- package/template/.claude/commands/status.md +1 -1
- package/template/.claude/commands/validate.md +1 -1
- package/template/.claude/commands/wrap-session.md +1 -1
- package/template/.claude/hooks/auto-approve.py +212 -0
- package/template/.claude/hooks/post-pr-check.py +108 -0
- package/template/.claude/hooks/post-transition-check.py +281 -0
- package/template/.claude/hooks/prompt-submit.py +554 -0
- package/template/.claude/hooks/session-start.py +262 -0
- package/template/.claude/hooks/stop-gate.py +162 -0
- package/template/.claude/settings.json +41 -4
- package/template/.claude/skills/README.md +23 -25
- package/template/.claude/skills/flydocs-workflow/SKILL.md +134 -42
- package/template/.claude/skills/flydocs-workflow/cursor-rule.mdc +9 -8
- package/template/.claude/skills/flydocs-workflow/reference/comment-templates.md +1 -0
- package/template/.claude/skills/flydocs-workflow/reference/golden-rules.md +28 -17
- package/template/.claude/skills/flydocs-workflow/reference/graph-schema.md +116 -0
- package/template/.claude/skills/flydocs-workflow/reference/pr-workflow.md +120 -0
- package/template/.claude/skills/flydocs-workflow/reference/priority-estimates.md +37 -15
- package/template/.claude/skills/flydocs-workflow/reference/service-descriptor-schema.md +260 -0
- package/template/.claude/skills/flydocs-workflow/reference/status-workflow.md +26 -26
- package/template/.claude/skills/flydocs-workflow/scripts/_local/__init__.py +0 -0
- package/template/.claude/skills/{flydocs-local/scripts/flydocs_api.py → flydocs-workflow/scripts/_local/file_store.py} +137 -47
- package/template/.claude/skills/flydocs-workflow/scripts/flydocs_api.py +724 -0
- package/template/{.flydocs → .claude/skills/flydocs-workflow}/scripts/generate_manifest.py +4 -4
- package/template/.claude/skills/{flydocs-context-graph → flydocs-workflow}/scripts/graph_build.py +132 -1
- package/template/.claude/skills/{flydocs-context-graph → flydocs-workflow}/scripts/graph_query.py +18 -5
- package/template/.claude/skills/{flydocs-context-graph → flydocs-workflow}/scripts/graph_session.py +1 -10
- package/template/.claude/skills/{flydocs-context-graph → flydocs-workflow}/scripts/graph_update.py +4 -4
- package/template/.claude/skills/{flydocs-context-graph → flydocs-workflow}/scripts/graph_utils.py +2 -1
- package/template/.claude/skills/flydocs-workflow/scripts/issues.py +738 -0
- package/template/.claude/skills/flydocs-workflow/scripts/projects.py +144 -0
- package/template/.claude/skills/flydocs-workflow/scripts/pull_services.py +128 -0
- package/template/.claude/skills/flydocs-workflow/scripts/push_service.py +132 -0
- package/template/.claude/skills/flydocs-workflow/scripts/session.py +54 -0
- package/template/.claude/skills/flydocs-workflow/scripts/test_enforcement.py +225 -0
- package/template/.claude/skills/flydocs-workflow/scripts/workspace.py +902 -0
- package/template/.claude/skills/flydocs-workflow/session.md +87 -29
- package/template/.claude/skills/flydocs-workflow/stages/activate.md +18 -7
- package/template/.claude/skills/flydocs-workflow/stages/capture.md +10 -5
- package/template/.claude/skills/flydocs-workflow/stages/close.md +4 -3
- package/template/.claude/skills/flydocs-workflow/stages/implement.md +33 -9
- package/template/.claude/skills/flydocs-workflow/stages/refine.md +22 -6
- package/template/.claude/skills/flydocs-workflow/stages/review.md +16 -4
- package/template/.claude/skills/flydocs-workflow/stages/validate.md +3 -1
- package/template/.claude/skills/flydocs-workflow/templates/pr/default.md +33 -0
- package/template/.cursor/agents/implementation-agent.md +1 -1
- package/template/.cursor/agents/pm-agent.md +2 -2
- package/template/.cursor/hooks.json +10 -3
- package/template/.env.example +6 -6
- package/template/.flydocs/config.json +5 -18
- package/template/.flydocs/templates/README.md +13 -14
- package/template/.flydocs/templates/bug.md +17 -153
- package/template/.flydocs/templates/chore.md +10 -98
- package/template/.flydocs/templates/feature.md +12 -158
- package/template/.flydocs/templates/idea.md +11 -111
- package/template/.flydocs/templates/quick-capture.md +4 -8
- package/template/.flydocs/version +1 -1
- package/template/AGENTS.md +44 -32
- package/template/CHANGELOG.md +37 -0
- package/template/flydocs/README.md +1 -3
- package/template/flydocs/context/project.md +6 -3
- package/template/flydocs/design-system/README.md +3 -3
- package/template/flydocs/knowledge/INDEX.md +38 -53
- package/template/flydocs/knowledge/README.md +60 -9
- package/template/flydocs/knowledge/templates/decision.md +47 -0
- package/template/flydocs/knowledge/templates/feature.md +35 -0
- package/template/flydocs/knowledge/templates/note.md +25 -0
- package/template/manifest.json +24 -20
- package/template/.claude/skills/flydocs-cloud/SKILL.md +0 -113
- package/template/.claude/skills/flydocs-cloud/cursor-rule.mdc +0 -50
- package/template/.claude/skills/flydocs-cloud/scripts/assign.py +0 -22
- package/template/.claude/skills/flydocs-cloud/scripts/assign_cycle.py +0 -28
- package/template/.claude/skills/flydocs-cloud/scripts/assign_milestone.py +0 -22
- package/template/.claude/skills/flydocs-cloud/scripts/comment.py +0 -29
- package/template/.claude/skills/flydocs-cloud/scripts/create_issue.py +0 -66
- package/template/.claude/skills/flydocs-cloud/scripts/create_milestone.py +0 -35
- package/template/.claude/skills/flydocs-cloud/scripts/create_project.py +0 -33
- package/template/.claude/skills/flydocs-cloud/scripts/create_team.py +0 -39
- package/template/.claude/skills/flydocs-cloud/scripts/estimate.py +0 -29
- package/template/.claude/skills/flydocs-cloud/scripts/flydocs_api.py +0 -210
- package/template/.claude/skills/flydocs-cloud/scripts/get_issue.py +0 -24
- package/template/.claude/skills/flydocs-cloud/scripts/link.py +0 -28
- package/template/.claude/skills/flydocs-cloud/scripts/list_cycles.py +0 -28
- package/template/.claude/skills/flydocs-cloud/scripts/list_issues.py +0 -44
- package/template/.claude/skills/flydocs-cloud/scripts/list_labels.py +0 -19
- package/template/.claude/skills/flydocs-cloud/scripts/list_milestones.py +0 -28
- package/template/.claude/skills/flydocs-cloud/scripts/list_projects.py +0 -31
- package/template/.claude/skills/flydocs-cloud/scripts/list_providers.py +0 -19
- package/template/.claude/skills/flydocs-cloud/scripts/list_teams.py +0 -19
- package/template/.claude/skills/flydocs-cloud/scripts/priority.py +0 -29
- package/template/.claude/skills/flydocs-cloud/scripts/project_update.py +0 -45
- package/template/.claude/skills/flydocs-cloud/scripts/set_labels.py +0 -68
- package/template/.claude/skills/flydocs-cloud/scripts/set_provider.py +0 -46
- package/template/.claude/skills/flydocs-cloud/scripts/set_team.py +0 -41
- package/template/.claude/skills/flydocs-cloud/scripts/transition.py +0 -26
- package/template/.claude/skills/flydocs-cloud/scripts/update_description.py +0 -36
- package/template/.claude/skills/flydocs-cloud/scripts/update_issue.py +0 -82
- package/template/.claude/skills/flydocs-context-graph/SKILL.md +0 -87
- package/template/.claude/skills/flydocs-context-graph/schema.md +0 -78
- package/template/.claude/skills/flydocs-context-graph/scripts/graph_context.py +0 -338
- package/template/.claude/skills/flydocs-context7/SKILL.md +0 -105
- package/template/.claude/skills/flydocs-context7/cursor-rule.mdc +0 -49
- package/template/.claude/skills/flydocs-context7/scripts/context7.py +0 -293
- package/template/.claude/skills/flydocs-estimates/SKILL.md +0 -384
- package/template/.claude/skills/flydocs-figma/SKILL.md +0 -377
- package/template/.claude/skills/flydocs-figma/references/PROMPTING.md +0 -108
- package/template/.claude/skills/flydocs-figma/references/TROUBLESHOOTING.md +0 -112
- package/template/.claude/skills/flydocs-local/SKILL.md +0 -103
- package/template/.claude/skills/flydocs-local/cursor-rule.mdc +0 -43
- package/template/.claude/skills/flydocs-local/scripts/assign.py +0 -20
- package/template/.claude/skills/flydocs-local/scripts/comment.py +0 -27
- package/template/.claude/skills/flydocs-local/scripts/create_issue.py +0 -44
- package/template/.claude/skills/flydocs-local/scripts/estimate.py +0 -37
- package/template/.claude/skills/flydocs-local/scripts/get_issue.py +0 -20
- package/template/.claude/skills/flydocs-local/scripts/link.py +0 -41
- package/template/.claude/skills/flydocs-local/scripts/list_issues.py +0 -34
- package/template/.claude/skills/flydocs-local/scripts/priority.py +0 -37
- package/template/.claude/skills/flydocs-local/scripts/project_update.py +0 -67
- package/template/.claude/skills/flydocs-local/scripts/status_summary.py +0 -16
- package/template/.claude/skills/flydocs-local/scripts/transition.py +0 -24
- package/template/.claude/skills/flydocs-local/scripts/update_description.py +0 -35
- package/template/.claude/skills/flydocs-local/scripts/update_issue.py +0 -84
- package/template/.flydocs/hooks/auto-approve.py +0 -71
- package/template/.flydocs/hooks/prompt-submit.py +0 -277
- package/template/.flydocs/scripts/skill_manager.py +0 -541
- /package/template/{.flydocs → .claude}/hooks/post-edit.py +0 -0
- /package/template/.claude/skills/{flydocs-estimates/references → flydocs-workflow/reference}/provider-costs.md +0 -0
- /package/template/.claude/skills/flydocs-workflow/templates/{bug.md → issues/bug.md} +0 -0
- /package/template/.claude/skills/flydocs-workflow/templates/{chore.md → issues/chore.md} +0 -0
- /package/template/.claude/skills/flydocs-workflow/templates/{feature.md → issues/feature.md} +0 -0
- /package/template/.claude/skills/flydocs-workflow/templates/{idea.md → issues/idea.md} +0 -0
|
@@ -1,122 +1,22 @@
|
|
|
1
|
-
<!-- AGENT
|
|
2
|
-
When creating or refining an idea issue:
|
|
1
|
+
<!-- AGENT: Use this template when creating idea issues. Fill all [bracketed] sections. -->
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
- Keep it light - this is brainstorming
|
|
6
|
-
- What/Why/How should each be one sentence
|
|
7
|
-
- Details can be rough notes
|
|
3
|
+
## What
|
|
8
4
|
|
|
9
|
-
|
|
10
|
-
- Think about user benefit first
|
|
11
|
-
- Business value second
|
|
12
|
-
- Be honest about impact uncertainty
|
|
5
|
+
[One sentence describing the idea]
|
|
13
6
|
|
|
14
|
-
|
|
15
|
-
- Capture what you don't know
|
|
16
|
-
- These become research tasks before refinement
|
|
17
|
-
- Include feasibility, effort, and value questions
|
|
7
|
+
## Why
|
|
18
8
|
|
|
19
|
-
|
|
20
|
-
- If XL or larger, note how to break it down
|
|
21
|
-
- Ideas often seem smaller until investigated
|
|
9
|
+
[Problem or opportunity this addresses]
|
|
22
10
|
|
|
23
|
-
|
|
24
|
-
- Ideas follow: Captured → Researched → Validated → Refined or Declined
|
|
25
|
-
- "Refined" means it became a full feature issue
|
|
26
|
-
- "Declined" with reason is valuable documentation
|
|
11
|
+
## Rough Shape
|
|
27
12
|
|
|
28
|
-
|
|
29
|
-
- When idea is validated, create feature issue
|
|
30
|
-
- Link the feature issue in "Refined" status
|
|
13
|
+
[Initial thinking on approach — does not need to be detailed]
|
|
31
14
|
|
|
32
|
-
|
|
33
|
-
-->
|
|
15
|
+
## Open Questions
|
|
34
16
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
**Quick Description:**
|
|
38
|
-
- **What:** [One sentence - what is this?]
|
|
39
|
-
- **Why:** [One sentence - why might this be valuable?]
|
|
40
|
-
- **How:** [One sentence - rough idea of how it might work]
|
|
41
|
-
|
|
42
|
-
**Details:**
|
|
43
|
-
[Additional thoughts, context, inspiration, related ideas]
|
|
44
|
-
|
|
45
|
-
---
|
|
46
|
-
|
|
47
|
-
## Potential Value
|
|
48
|
-
|
|
49
|
-
**For Users:**
|
|
50
|
-
- [Benefit 1]
|
|
51
|
-
- [Benefit 2]
|
|
52
|
-
|
|
53
|
-
**For Business/Product:**
|
|
54
|
-
- [Value 1]
|
|
55
|
-
- [Value 2]
|
|
56
|
-
|
|
57
|
-
**Estimated Impact:** 🔥 High | 📊 Medium | 💡 Low | ❓ Unknown
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
## Questions to Answer
|
|
62
|
-
|
|
63
|
-
**Unknowns:**
|
|
64
|
-
- [ ] What needs research or investigation?
|
|
65
|
-
- [ ] What's the technical feasibility?
|
|
66
|
-
- [ ] What's the rough effort estimate?
|
|
67
|
-
- [ ] Does this already exist elsewhere?
|
|
68
|
-
|
|
69
|
-
**Dependencies:**
|
|
70
|
-
- [ ] Does this depend on other work?
|
|
71
|
-
- [ ] Are there technical constraints?
|
|
72
|
-
|
|
73
|
-
**Risks:**
|
|
74
|
-
- [ ] What could go wrong?
|
|
75
|
-
|
|
76
|
-
---
|
|
77
|
-
|
|
78
|
-
## Rough Complexity
|
|
79
|
-
|
|
80
|
-
**Complexity:** XS | S | M | L | XL | ❓ Unknown
|
|
81
|
-
|
|
82
|
-
**If XL or larger:**
|
|
83
|
-
[How could this be broken into smaller features?]
|
|
84
|
-
|
|
85
|
-
---
|
|
17
|
+
- [Question 1]
|
|
18
|
+
- [Question 2]
|
|
86
19
|
|
|
87
20
|
## Next Steps
|
|
88
21
|
|
|
89
|
-
|
|
90
|
-
1. [Research step 1]
|
|
91
|
-
2. [User validation needed]
|
|
92
|
-
3. [Technical spike or prototype]
|
|
93
|
-
|
|
94
|
-
**To Turn Into a Feature:**
|
|
95
|
-
1. [ ] Answer the questions above
|
|
96
|
-
2. [ ] Define clear user story and acceptance criteria
|
|
97
|
-
3. [ ] Get stakeholder buy-in
|
|
98
|
-
4. [ ] Create feature issue with full template
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## Status Tracking
|
|
103
|
-
|
|
104
|
-
- [ ] **Captured** - Idea written down ✅
|
|
105
|
-
- [ ] **Researched** - Questions answered, feasibility checked
|
|
106
|
-
- [ ] **Validated** - Worth pursuing
|
|
107
|
-
- [ ] **Refined** - Converted to full feature issue
|
|
108
|
-
- [ ] **Declined** - Decided not to pursue
|
|
109
|
-
|
|
110
|
-
**If Declined:**
|
|
111
|
-
- **Reason:** [Why we decided not to do this]
|
|
112
|
-
|
|
113
|
-
**If Refined:**
|
|
114
|
-
- **New Issue:** [Link to feature issue created from this idea]
|
|
115
|
-
|
|
116
|
-
---
|
|
117
|
-
|
|
118
|
-
_Captured: YYYY-MM-DD_
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
22
|
+
- [ ] [First step to explore or validate this idea]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
1
|
+
<!--
|
|
2
|
+
PROVIDER DEFAULT TEMPLATE
|
|
3
3
|
========================
|
|
4
|
-
Copy this to
|
|
5
|
-
This is the ONLY template humans need in
|
|
4
|
+
Copy this to your issue tracker as the default issue template.
|
|
5
|
+
This is the ONLY template humans need in their issue tracker.
|
|
6
6
|
Agents apply full templates via /refine.
|
|
7
7
|
-->
|
|
8
8
|
|
|
@@ -29,7 +29,3 @@ Agents apply full templates via /refine.
|
|
|
29
29
|
---
|
|
30
30
|
|
|
31
31
|
_Add `triage` label. Agent will classify and structure via `/refine`._
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
@@ -1 +1 @@
|
|
|
1
|
-
0.6.0-alpha.
|
|
1
|
+
0.6.0-alpha.30
|
package/template/AGENTS.md
CHANGED
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
# FlyDocs Agent Instructions
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
When performing workflow, issue management, or process tasks, consult the
|
|
5
|
-
relevant documentation files before acting.
|
|
3
|
+
## Automatic Workflow Behavior
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
These behaviors are **always on**. Execute them automatically as part of doing
|
|
6
|
+
the work — do not wait for explicit commands.
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
- **Starting work** → assign if needed, then transition:
|
|
9
|
+
`issues.py assign REF ASSIGNEE`
|
|
10
|
+
`issues.py transition REF IMPLEMENTING "Starting implementation"`
|
|
11
|
+
- **Completing implementation** → transition with summary:
|
|
12
|
+
`issues.py transition REF REVIEW "Implementation complete — [summary]"`
|
|
13
|
+
- **Closing** → verify AC, then transition:
|
|
14
|
+
`issues.py transition REF COMPLETE "All acceptance criteria verified"`
|
|
15
|
+
- **Every transition gets a comment** — no silent moves, no exceptions
|
|
16
|
+
- **Checkboxes in description, never comments** — update AC as you go:
|
|
17
|
+
`issues.py description REF --text "updated description with checked boxes"`
|
|
18
|
+
- **Session wrap posts a summary** via `session.py project-update`
|
|
19
|
+
|
|
20
|
+
All scripts: `python3 .claude/skills/flydocs-workflow/scripts/<dispatcher>`
|
|
21
|
+
|
|
22
|
+
## Efficiency
|
|
23
|
+
|
|
24
|
+
Do NOT read skill files or workflow documentation before writing code.
|
|
25
|
+
The rules above are already in your context. For general coding, research,
|
|
26
|
+
and building features — just do the work.
|
|
15
27
|
|
|
16
28
|
## Workflow
|
|
17
29
|
|
|
@@ -37,16 +49,20 @@ Detailed procedures: `.claude/skills/flydocs-workflow/`
|
|
|
37
49
|
|
|
38
50
|
Scripts handle all issue management. The active backend (local files or cloud provider) determines the implementation.
|
|
39
51
|
|
|
40
|
-
**Available operations:** create issue, transition status, add comment, list issues, get issue details, assign, update description, status summary.
|
|
52
|
+
**Available operations:** create issue, transition status, add comment, list issues, get issue details, assign, update description, estimate, priority, link, block, project update, status summary.
|
|
41
53
|
|
|
42
|
-
|
|
54
|
+
Scripts use grouped dispatchers in `.claude/skills/flydocs-workflow/scripts/`:
|
|
43
55
|
|
|
44
|
-
|
|
56
|
+
| Dispatcher | Operations |
|
|
57
|
+
| ---------------- | ------------------------------------------------------------ |
|
|
58
|
+
| `issues.py` | create, get, list, transition, assign, update, comment, etc. |
|
|
59
|
+
| `projects.py` | list-projects, create-project, milestones, cycles |
|
|
60
|
+
| `workspace.py` | validate, labels, statuses, teams, config, identity |
|
|
61
|
+
| `session.py` | project-update, status-summary |
|
|
62
|
+
| `graph_*.py` | build, query, update, session recording |
|
|
63
|
+
| `push/pull_*.py` | Service descriptor sync (cloud tier) |
|
|
45
64
|
|
|
46
|
-
|
|
47
|
-
| ----------------- | ----------------------------------------------------------------------- |
|
|
48
|
-
| Figma Integration | `.claude/skills/flydocs-figma/` — design extraction, token mapping |
|
|
49
|
-
| Cost Estimation | `.claude/skills/flydocs-estimates/` — AI token/labor estimates (opt-in) |
|
|
65
|
+
The unified client auto-detects tier (cloud vs local) — scripts never check tier directly.
|
|
50
66
|
|
|
51
67
|
## Writing Style
|
|
52
68
|
|
|
@@ -80,26 +96,22 @@ Follow these rules in every response for consistent, scannable output.
|
|
|
80
96
|
|
|
81
97
|
## Project Context
|
|
82
98
|
|
|
83
|
-
| File
|
|
84
|
-
|
|
|
85
|
-
| `flydocs/context/project.md`
|
|
86
|
-
|
|
|
99
|
+
| File | Purpose |
|
|
100
|
+
| ------------------------------ | ------------------------------------------------- |
|
|
101
|
+
| `flydocs/context/project.md` | Product scope, tech stack, active priorities |
|
|
102
|
+
| `flydocs/context/service.json` | Service descriptor, topology, cross-repo context |
|
|
103
|
+
| `.flydocs/config.json` | Tier, provider, labels, active projects, topology |
|
|
87
104
|
|
|
88
105
|
<!-- flydocs:skills-manifest:start -->
|
|
89
106
|
|
|
90
107
|
## Skills Index
|
|
91
108
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
| Skill
|
|
96
|
-
|
|
|
97
|
-
| flydocs-
|
|
98
|
-
| flydocs-context7 | context7, library docs, documentation lookup, framework docs, package docs, API reference | .claude/skills/flydocs-context7/SKILL.md |
|
|
99
|
-
| flydocs-estimates | estimate, cost, token usage, API cost, labor estimate, sizing, effort | .claude/skills/flydocs-estimates/SKILL.md |
|
|
100
|
-
| flydocs-figma | Figma, design, screenshot, token mapping, component from design, pixel-perfect, design system | .claude/skills/flydocs-figma/SKILL.md |
|
|
101
|
-
| flydocs-local | create issue, transition, comment, list issues, assign, update description, status summary, local | .claude/skills/flydocs-local/SKILL.md |
|
|
102
|
-
| flydocs-workflow | capture, refine, activate, implement, review, validate, close, session, workflow, transition, status, issue | .claude/skills/flydocs-workflow/SKILL.md |
|
|
109
|
+
Consult the workflow skill for **issue operations and status transitions only**.
|
|
110
|
+
For general coding tasks, skip this — just write code.
|
|
111
|
+
|
|
112
|
+
| Skill | Triggers | Entry |
|
|
113
|
+
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
|
|
114
|
+
| flydocs-workflow | create issue, capture issue, log a bug, add to backlog, transition, move to, mark as, set status, assign issue, close issue, start session, wrap session, project update, status update, add comment, set priority, set estimate | .claude/skills/flydocs-workflow/SKILL.md |
|
|
103
115
|
|
|
104
116
|
<!-- flydocs:skills-manifest:end -->
|
|
105
117
|
|
package/template/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,43 @@ Versioning: [Semantic Versioning](https://semver.org/).
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [0.6.0-alpha.24] — 2026-03-30
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Auto-resolve provider identity** — `workspace.py validate` now attempts
|
|
15
|
+
`GET /auth/me` before requiring manual `set-identity` step. If the relay
|
|
16
|
+
returns a provider identity, `me.json` is written automatically (FLY-520)
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- **Friendlier identity fallback** — when auto-resolve fails, the validation
|
|
21
|
+
message now points to the dashboard profile page instead of showing a raw
|
|
22
|
+
script command
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## [0.6.0-alpha.23] — 2026-03-29
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- **CLAUDE.md** — scoped skill-led reasoning to workflow operations only; general
|
|
31
|
+
coding no longer triggers skill file reads (FLY-450)
|
|
32
|
+
- **AGENTS.md** — added exact script commands to Automatic Workflow Behavior section
|
|
33
|
+
for deterministic issue transitions (FLY-450)
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## [0.6.0-alpha.4] — 2026-03-13
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
|
|
41
|
+
- **Status mapping** — new `list_statuses.py` and `set_status_mapping.py`
|
|
42
|
+
scripts. Setup flow auto-maps provider workflow states to FlyDocs statuses
|
|
43
|
+
after label config, warns on unmapped statuses without blocking.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
10
47
|
## [0.6.0-alpha.3] — 2026-03-13
|
|
11
48
|
|
|
12
49
|
### Added
|
|
@@ -30,8 +30,6 @@ FlyDocs will **never overwrite** these files during updates - they're yours to m
|
|
|
30
30
|
├── config.json # Tier, provider settings, workspace config
|
|
31
31
|
├── version # For upgrade detection
|
|
32
32
|
├── rules/ # Workflow rules
|
|
33
|
-
├── scripts/ # Automation scripts
|
|
34
|
-
├── hooks/ # Workflow hooks
|
|
35
33
|
└── templates/ # Issue templates (source)
|
|
36
34
|
|
|
37
35
|
flydocs/ # PROJECT CONTENT (evolves with project)
|
|
@@ -153,7 +151,7 @@ See `.flydocs/config.json` for:
|
|
|
153
151
|
- FlyDocs version
|
|
154
152
|
- `tier` - "local" (free) or "cloud" (connected to provider)
|
|
155
153
|
- `paths.content` - This folder name (default: "flydocs")
|
|
156
|
-
- `provider.type` - Issue tracker provider (null for local, "linear" for cloud)
|
|
154
|
+
- `provider.type` - Issue tracker provider (null for local, e.g. "linear", "jira" for cloud)
|
|
157
155
|
- `workspace.activeProjects` - Array of active project IDs (cloud tier)
|
|
158
156
|
- `workspace.product` - Product identity (name, labelIds, icon, color)
|
|
159
157
|
- `statusMapping` - Workflow state names
|
|
@@ -3,11 +3,13 @@
|
|
|
3
3
|
## What This Is
|
|
4
4
|
|
|
5
5
|
<!-- Fill during setup: 2-3 sentences describing the project -->
|
|
6
|
+
|
|
6
7
|
[Project name] — [what it does and who it's for].
|
|
7
8
|
|
|
8
9
|
## Stack
|
|
9
10
|
|
|
10
11
|
<!-- Fill during setup: auto-detected or manual -->
|
|
12
|
+
|
|
11
13
|
- **Framework**: [e.g., Next.js 14 / React 18]
|
|
12
14
|
- **Language**: [e.g., TypeScript 5.x]
|
|
13
15
|
- **Styling**: [e.g., Tailwind CSS]
|
|
@@ -20,8 +22,8 @@
|
|
|
20
22
|
Code standards are defined by installed community skills. Skills are installed
|
|
21
23
|
based on detected stack during setup or manually via `npx flydocs skills add`.
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
Installed community skills provide domain-specific patterns. List them with
|
|
26
|
+
`npx flydocs skills list`.
|
|
25
27
|
|
|
26
28
|
### Project-Specific Standards
|
|
27
29
|
|
|
@@ -36,6 +38,7 @@ Project notes: `flydocs/knowledge/notes/`
|
|
|
36
38
|
## Active Priorities
|
|
37
39
|
|
|
38
40
|
<!-- Updated by session-wrap or manually -->
|
|
41
|
+
|
|
39
42
|
1. [Current priority 1]
|
|
40
43
|
2. [Current priority 2]
|
|
41
44
|
3. [Current priority 3]
|
|
@@ -48,4 +51,4 @@ Project notes: `flydocs/knowledge/notes/`
|
|
|
48
51
|
|
|
49
52
|
---
|
|
50
53
|
|
|
51
|
-
|
|
54
|
+
_Last Updated: YYYY-MM-DD_
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
## Purpose
|
|
8
8
|
|
|
9
|
-
When using the
|
|
9
|
+
When using the workflow skill's Figma capabilities to extract designs, the AI needs to know:
|
|
10
10
|
|
|
11
11
|
1. **How Figma tokens map to code** (colors, spacing, typography)
|
|
12
12
|
2. **What component patterns exist** (and how to match them)
|
|
@@ -83,9 +83,9 @@ flydocs/design-system/
|
|
|
83
83
|
|
|
84
84
|
---
|
|
85
85
|
|
|
86
|
-
## Integration with
|
|
86
|
+
## Integration with Figma Workflow
|
|
87
87
|
|
|
88
|
-
The `flydocs-
|
|
88
|
+
The `flydocs-workflow` skill's Figma capabilities reference this directory:
|
|
89
89
|
|
|
90
90
|
1. **Before extraction** - Loads token-mapping.md for translation rules
|
|
91
91
|
2. **During extraction** - Matches Figma elements to documented patterns
|
|
@@ -4,97 +4,82 @@
|
|
|
4
4
|
AGENT INSTRUCTIONS:
|
|
5
5
|
- Scan this file FIRST when looking for existing knowledge
|
|
6
6
|
- Use descriptions to assess relevance before loading full docs
|
|
7
|
-
- Update this index when adding
|
|
7
|
+
- Update this index when adding or modifying knowledge docs
|
|
8
|
+
- Always use real dates, never leave as YYYY-MM-DD
|
|
8
9
|
-->
|
|
9
10
|
|
|
10
11
|
## Quick Reference
|
|
11
12
|
|
|
12
|
-
| Category
|
|
13
|
-
|
|
14
|
-
| Decisions | 0
|
|
15
|
-
| Features
|
|
16
|
-
| Notes
|
|
17
|
-
| Product
|
|
13
|
+
| Category | Count | Last Updated |
|
|
14
|
+
| --------- | ----- | ------------ |
|
|
15
|
+
| Decisions | 0 | - |
|
|
16
|
+
| Features | 0 | - |
|
|
17
|
+
| Notes | 0 | - |
|
|
18
|
+
| Product | 2 | - |
|
|
18
19
|
|
|
19
20
|
---
|
|
20
21
|
|
|
21
|
-
##
|
|
22
|
+
## Decisions (ADRs)
|
|
22
23
|
|
|
23
|
-
Architecture Decision Records
|
|
24
|
+
Architecture Decision Records — why we made key technical choices.
|
|
24
25
|
|
|
25
|
-
| ID
|
|
26
|
-
|
|
27
|
-
| -
|
|
26
|
+
| ID | Title | Status | Date |
|
|
27
|
+
| --- | ------------------------- | ------ | ---- |
|
|
28
|
+
| - | No decisions recorded yet | - | - |
|
|
28
29
|
|
|
29
30
|
<!-- Example:
|
|
30
|
-
| 001 | Use Convex for Backend | Accepted |
|
|
31
|
-
|
|
31
|
+
| 001 | Use Convex for Backend | Accepted | 2026-01-15 |
|
|
32
|
+
-> Explains why we chose Convex over traditional REST API
|
|
32
33
|
-->
|
|
33
34
|
|
|
34
35
|
---
|
|
35
36
|
|
|
36
|
-
##
|
|
37
|
+
## Features
|
|
37
38
|
|
|
38
39
|
Documentation for complex features that need more than a spec.
|
|
39
40
|
|
|
40
|
-
| Feature | Description
|
|
41
|
-
|
|
42
|
-
| -
|
|
41
|
+
| Feature | Description | Last Updated |
|
|
42
|
+
| ------- | ------------------- | ------------ |
|
|
43
|
+
| - | No feature docs yet | - |
|
|
43
44
|
|
|
44
45
|
<!-- Example:
|
|
45
|
-
| auth-system | Complete auth flow documentation |
|
|
46
|
-
|
|
46
|
+
| auth-system | Complete auth flow documentation | 2026-02-01 |
|
|
47
|
+
-> OAuth setup, session handling, role-based access
|
|
47
48
|
-->
|
|
48
49
|
|
|
49
50
|
---
|
|
50
51
|
|
|
51
|
-
##
|
|
52
|
+
## Notes
|
|
52
53
|
|
|
53
54
|
Technical discoveries, gotchas, learnings.
|
|
54
55
|
|
|
55
|
-
| Topic | Description
|
|
56
|
-
|
|
57
|
-
| -
|
|
56
|
+
| Topic | Description | Added |
|
|
57
|
+
| ----- | ------------ | ----- |
|
|
58
|
+
| - | No notes yet | - |
|
|
58
59
|
|
|
59
60
|
<!-- Example:
|
|
60
|
-
| api-rate-limits | Third-party API quirks and workarounds |
|
|
61
|
-
|
|
61
|
+
| api-rate-limits | Third-party API quirks and workarounds | 2026-01-20 |
|
|
62
|
+
-> Stripe webhook retries, Figma API limits, etc.
|
|
62
63
|
-->
|
|
63
64
|
|
|
64
65
|
---
|
|
65
66
|
|
|
66
|
-
##
|
|
67
|
+
## Product
|
|
67
68
|
|
|
68
69
|
User research and product documentation.
|
|
69
70
|
|
|
70
|
-
| Document
|
|
71
|
-
|
|
72
|
-
| personas.md
|
|
73
|
-
| user-flows.md | Key user journeys
|
|
71
|
+
| Document | Description | Last Updated |
|
|
72
|
+
| ------------- | -------------------- | ------------ |
|
|
73
|
+
| personas.md | Target user profiles | - |
|
|
74
|
+
| user-flows.md | Key user journeys | - |
|
|
74
75
|
|
|
75
76
|
---
|
|
76
77
|
|
|
77
78
|
## How to Add Knowledge
|
|
78
79
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
### New Feature Doc
|
|
86
|
-
```bash
|
|
87
|
-
# Create: flydocs/knowledge/features/feature-name.md
|
|
88
|
-
# Update: This index with new entry
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
### New Note
|
|
92
|
-
```bash
|
|
93
|
-
# Create: flydocs/knowledge/notes/topic-name.md
|
|
94
|
-
# Update: This index with new entry
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
---
|
|
98
|
-
|
|
99
|
-
*Last Updated: YYYY-MM-DD*
|
|
100
|
-
|
|
80
|
+
1. Choose the category: decision, feature, note, or product
|
|
81
|
+
2. Copy the template from `templates/<category>.md`
|
|
82
|
+
3. Fill in the frontmatter (title, created date, related issues)
|
|
83
|
+
4. Write the content following the template structure
|
|
84
|
+
5. Add an entry to this index with a concise description
|
|
85
|
+
6. Use the `/knowledge` command for a guided flow
|
|
@@ -6,42 +6,78 @@ This directory contains project knowledge that accumulates over time.
|
|
|
6
6
|
|
|
7
7
|
```
|
|
8
8
|
knowledge/
|
|
9
|
-
├── INDEX.md
|
|
10
|
-
├──
|
|
11
|
-
├──
|
|
12
|
-
├──
|
|
13
|
-
|
|
9
|
+
├── INDEX.md # Start here — inventory of all knowledge
|
|
10
|
+
├── templates/ # Structural templates for each category
|
|
11
|
+
├── decisions/ # Architecture Decision Records (ADRs)
|
|
12
|
+
├── features/ # Complex feature documentation
|
|
13
|
+
├── notes/ # Technical discoveries and learnings
|
|
14
|
+
└── product/ # User research and product docs
|
|
14
15
|
```
|
|
15
16
|
|
|
16
|
-
##
|
|
17
|
+
## Templates
|
|
18
|
+
|
|
19
|
+
Use templates from `templates/` when creating new knowledge docs. Each template includes
|
|
20
|
+
a frontmatter block with required metadata fields.
|
|
21
|
+
|
|
22
|
+
### Required Frontmatter
|
|
23
|
+
|
|
24
|
+
All knowledge docs must include YAML frontmatter:
|
|
25
|
+
|
|
26
|
+
```yaml
|
|
27
|
+
---
|
|
28
|
+
title: "Descriptive title"
|
|
29
|
+
created: 2026-03-17
|
|
30
|
+
lastUpdated: 2026-03-17
|
|
31
|
+
relatedIssues: [FLY-123, FLY-456]
|
|
32
|
+
---
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Additional fields vary by category — see the template for each type.
|
|
36
|
+
|
|
37
|
+
**Always update `lastUpdated`** when modifying an existing doc.
|
|
38
|
+
|
|
39
|
+
## When to Create Knowledge
|
|
17
40
|
|
|
18
41
|
### Decisions (`decisions/`)
|
|
42
|
+
|
|
19
43
|
Add an ADR when you make a significant technical choice:
|
|
44
|
+
|
|
20
45
|
- Choosing a framework or library
|
|
21
46
|
- Designing a system architecture
|
|
22
47
|
- Establishing a pattern that others should follow
|
|
48
|
+
- Rejecting an approach (document why, so others don't repeat the investigation)
|
|
23
49
|
|
|
24
50
|
**Format**: `NNN-title.md` (e.g., `001-use-convex.md`)
|
|
51
|
+
**Template**: `templates/decision.md`
|
|
25
52
|
|
|
26
53
|
### Features (`features/`)
|
|
54
|
+
|
|
27
55
|
Add feature documentation when:
|
|
56
|
+
|
|
28
57
|
- A feature is too complex for just a spec
|
|
29
58
|
- Multiple specs relate to one system
|
|
30
59
|
- Future developers will need deep context
|
|
31
60
|
|
|
32
61
|
**Format**: `feature-name.md` (e.g., `auth-system.md`)
|
|
62
|
+
**Template**: `templates/feature.md`
|
|
33
63
|
|
|
34
64
|
### Notes (`notes/`)
|
|
65
|
+
|
|
35
66
|
Add notes when you discover:
|
|
67
|
+
|
|
36
68
|
- API quirks or gotchas
|
|
37
69
|
- Performance optimizations
|
|
38
70
|
- Debugging techniques
|
|
39
71
|
- Third-party service behaviors
|
|
72
|
+
- Workarounds that aren't obvious from code
|
|
40
73
|
|
|
41
74
|
**Format**: `topic-name.md` (e.g., `stripe-webhooks.md`)
|
|
75
|
+
**Template**: `templates/note.md`
|
|
42
76
|
|
|
43
77
|
### Product (`product/`)
|
|
78
|
+
|
|
44
79
|
Add product docs for:
|
|
80
|
+
|
|
45
81
|
- User personas
|
|
46
82
|
- User flows and journeys
|
|
47
83
|
- Research findings
|
|
@@ -49,14 +85,29 @@ Add product docs for:
|
|
|
49
85
|
|
|
50
86
|
**Format**: `document-name.md` (e.g., `personas.md`)
|
|
51
87
|
|
|
88
|
+
## When to Prompt for Knowledge Capture
|
|
89
|
+
|
|
90
|
+
Proactively suggest creating a knowledge doc when:
|
|
91
|
+
|
|
92
|
+
- An architectural decision was made during implementation
|
|
93
|
+
- A non-obvious workaround or debugging technique was discovered
|
|
94
|
+
- A third-party API or integration behavior was learned through trial and error
|
|
95
|
+
- A pattern was established that future work should follow
|
|
96
|
+
- A significant feature was completed that spans multiple issues
|
|
97
|
+
|
|
98
|
+
The `/knowledge` command provides a guided flow for creating docs.
|
|
99
|
+
|
|
52
100
|
## Always Update INDEX.md
|
|
53
101
|
|
|
54
|
-
When adding any knowledge document
|
|
102
|
+
When adding or modifying any knowledge document:
|
|
103
|
+
|
|
104
|
+
1. Add or update the entry in `INDEX.md`
|
|
105
|
+
2. Set the date to the current date (never leave as `YYYY-MM-DD`)
|
|
106
|
+
3. Write a concise description that helps agents assess relevance without loading the full doc
|
|
55
107
|
|
|
56
108
|
## Relationship to Specs
|
|
57
109
|
|
|
58
|
-
- **Specs** (in
|
|
110
|
+
- **Specs** (in issue tracker) = What we're building now
|
|
59
111
|
- **Knowledge** (here) = What we've learned that persists
|
|
60
112
|
|
|
61
113
|
Specs reference knowledge. Knowledge grows from implementing specs.
|
|
62
|
-
|