@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
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Knowledge Base Index
|
|
2
|
+
|
|
3
|
+
<!--
|
|
4
|
+
AGENT INSTRUCTIONS:
|
|
5
|
+
- Scan this file FIRST when looking for existing knowledge
|
|
6
|
+
- Use descriptions to assess relevance before loading full docs
|
|
7
|
+
- Update this index when adding new knowledge docs
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
## Quick Reference
|
|
11
|
+
|
|
12
|
+
| Category | Count | Last Updated |
|
|
13
|
+
|----------|-------|--------------|
|
|
14
|
+
| Decisions | 0 | - |
|
|
15
|
+
| Features | 0 | - |
|
|
16
|
+
| Notes | 0 | - |
|
|
17
|
+
| Product | 2 | YYYY-MM-DD |
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 📋 Decisions (ADRs)
|
|
22
|
+
|
|
23
|
+
Architecture Decision Records - why we made key technical choices.
|
|
24
|
+
|
|
25
|
+
| ID | Title | Status | Date |
|
|
26
|
+
|----|-------|--------|------|
|
|
27
|
+
| - | No decisions recorded yet | - | - |
|
|
28
|
+
|
|
29
|
+
<!-- Example:
|
|
30
|
+
| 001 | Use Convex for Backend | Accepted | 2024-01-15 |
|
|
31
|
+
→ Explains why we chose Convex over traditional REST API
|
|
32
|
+
-->
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 🔧 Features
|
|
37
|
+
|
|
38
|
+
Documentation for complex features that need more than a spec.
|
|
39
|
+
|
|
40
|
+
| Feature | Description | Last Updated |
|
|
41
|
+
|---------|-------------|--------------|
|
|
42
|
+
| - | No feature docs yet | - |
|
|
43
|
+
|
|
44
|
+
<!-- Example:
|
|
45
|
+
| auth-system | Complete auth flow documentation | 2024-02-01 |
|
|
46
|
+
→ OAuth setup, session handling, role-based access
|
|
47
|
+
-->
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## 📝 Notes
|
|
52
|
+
|
|
53
|
+
Technical discoveries, gotchas, learnings.
|
|
54
|
+
|
|
55
|
+
| Topic | Description | Added |
|
|
56
|
+
|-------|-------------|-------|
|
|
57
|
+
| - | No notes yet | - |
|
|
58
|
+
|
|
59
|
+
<!-- Example:
|
|
60
|
+
| api-rate-limits | Third-party API quirks and workarounds | 2024-01-20 |
|
|
61
|
+
→ Stripe webhook retries, Figma API limits, etc.
|
|
62
|
+
-->
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## 👥 Product
|
|
67
|
+
|
|
68
|
+
User research and product documentation.
|
|
69
|
+
|
|
70
|
+
| Document | Description | Last Updated |
|
|
71
|
+
|----------|-------------|--------------|
|
|
72
|
+
| personas.md | Target user profiles | YYYY-MM-DD |
|
|
73
|
+
| user-flows.md | Key user journeys | YYYY-MM-DD |
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## How to Add Knowledge
|
|
78
|
+
|
|
79
|
+
### New Decision (ADR)
|
|
80
|
+
```bash
|
|
81
|
+
# Create: flydocs/knowledge/decisions/NNN-title.md
|
|
82
|
+
# Update: This index with new entry
|
|
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
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Knowledge Base
|
|
2
|
+
|
|
3
|
+
This directory contains project knowledge that accumulates over time.
|
|
4
|
+
|
|
5
|
+
## Structure
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
knowledge/
|
|
9
|
+
├── INDEX.md # Start here - inventory of all knowledge
|
|
10
|
+
├── decisions/ # Architecture Decision Records (ADRs)
|
|
11
|
+
├── features/ # Complex feature documentation
|
|
12
|
+
├── notes/ # Technical discoveries and learnings
|
|
13
|
+
└── product/ # User research and product docs
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## When to Add Knowledge
|
|
17
|
+
|
|
18
|
+
### Decisions (`decisions/`)
|
|
19
|
+
Add an ADR when you make a significant technical choice:
|
|
20
|
+
- Choosing a framework or library
|
|
21
|
+
- Designing a system architecture
|
|
22
|
+
- Establishing a pattern that others should follow
|
|
23
|
+
|
|
24
|
+
**Format**: `NNN-title.md` (e.g., `001-use-convex.md`)
|
|
25
|
+
|
|
26
|
+
### Features (`features/`)
|
|
27
|
+
Add feature documentation when:
|
|
28
|
+
- A feature is too complex for just a spec
|
|
29
|
+
- Multiple specs relate to one system
|
|
30
|
+
- Future developers will need deep context
|
|
31
|
+
|
|
32
|
+
**Format**: `feature-name.md` (e.g., `auth-system.md`)
|
|
33
|
+
|
|
34
|
+
### Notes (`notes/`)
|
|
35
|
+
Add notes when you discover:
|
|
36
|
+
- API quirks or gotchas
|
|
37
|
+
- Performance optimizations
|
|
38
|
+
- Debugging techniques
|
|
39
|
+
- Third-party service behaviors
|
|
40
|
+
|
|
41
|
+
**Format**: `topic-name.md` (e.g., `stripe-webhooks.md`)
|
|
42
|
+
|
|
43
|
+
### Product (`product/`)
|
|
44
|
+
Add product docs for:
|
|
45
|
+
- User personas
|
|
46
|
+
- User flows and journeys
|
|
47
|
+
- Research findings
|
|
48
|
+
- Product requirements
|
|
49
|
+
|
|
50
|
+
**Format**: `document-name.md` (e.g., `personas.md`)
|
|
51
|
+
|
|
52
|
+
## Always Update INDEX.md
|
|
53
|
+
|
|
54
|
+
When adding any knowledge document, update `INDEX.md` so agents can discover it.
|
|
55
|
+
|
|
56
|
+
## Relationship to Specs
|
|
57
|
+
|
|
58
|
+
- **Specs** (in Linear) = What we're building now
|
|
59
|
+
- **Knowledge** (here) = What we've learned that persists
|
|
60
|
+
|
|
61
|
+
Specs reference knowledge. Knowledge grows from implementing specs.
|
|
62
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# User Personas
|
|
2
|
+
|
|
3
|
+
<!--
|
|
4
|
+
AGENT INSTRUCTIONS:
|
|
5
|
+
- Reference when creating user-facing features
|
|
6
|
+
- Ensure features address real user needs
|
|
7
|
+
- Update as user research evolves
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
## Primary Personas
|
|
11
|
+
|
|
12
|
+
### Persona 1: [Name]
|
|
13
|
+
|
|
14
|
+
**Role**: [Job title or role]
|
|
15
|
+
**Experience Level**: [Beginner / Intermediate / Expert]
|
|
16
|
+
|
|
17
|
+
**Goals**:
|
|
18
|
+
- [What they want to achieve]
|
|
19
|
+
- [What they want to achieve]
|
|
20
|
+
|
|
21
|
+
**Pain Points**:
|
|
22
|
+
- [Current frustration]
|
|
23
|
+
- [Current frustration]
|
|
24
|
+
|
|
25
|
+
**Behaviors**:
|
|
26
|
+
- [How they currently work]
|
|
27
|
+
- [Tools they use]
|
|
28
|
+
|
|
29
|
+
**Quote**: "[Something they might say that captures their mindset]"
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
### Persona 2: [Name]
|
|
34
|
+
|
|
35
|
+
**Role**: [Job title or role]
|
|
36
|
+
**Experience Level**: [Beginner / Intermediate / Expert]
|
|
37
|
+
|
|
38
|
+
**Goals**:
|
|
39
|
+
- [What they want to achieve]
|
|
40
|
+
- [What they want to achieve]
|
|
41
|
+
|
|
42
|
+
**Pain Points**:
|
|
43
|
+
- [Current frustration]
|
|
44
|
+
- [Current frustration]
|
|
45
|
+
|
|
46
|
+
**Behaviors**:
|
|
47
|
+
- [How they currently work]
|
|
48
|
+
- [Tools they use]
|
|
49
|
+
|
|
50
|
+
**Quote**: "[Something they might say that captures their mindset]"
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Secondary Personas
|
|
55
|
+
|
|
56
|
+
### [Name]
|
|
57
|
+
[Brief description - less detail than primary personas]
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Anti-Personas (Who We're NOT Building For)
|
|
62
|
+
|
|
63
|
+
### [Type]
|
|
64
|
+
[Why this user type is out of scope]
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Persona Usage
|
|
69
|
+
|
|
70
|
+
When creating specs, reference personas:
|
|
71
|
+
- "As a [Persona Name], I want to..."
|
|
72
|
+
- Consider: Would this feature help [Persona]?
|
|
73
|
+
- Prioritize features that serve primary personas
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
*Last Updated: YYYY-MM-DD*
|
|
78
|
+
*Source: [How this was researched - interviews, analytics, etc.]*
|
|
79
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# User Flows
|
|
2
|
+
|
|
3
|
+
<!--
|
|
4
|
+
AGENT INSTRUCTIONS:
|
|
5
|
+
- Reference when implementing user-facing features
|
|
6
|
+
- Ensure implementations follow expected user journeys
|
|
7
|
+
- Update as product evolves
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
## Core Flows
|
|
11
|
+
|
|
12
|
+
### Flow 1: [Flow Name, e.g., "User Onboarding"]
|
|
13
|
+
|
|
14
|
+
**Trigger**: [What initiates this flow]
|
|
15
|
+
**Goal**: [What user accomplishes]
|
|
16
|
+
**Persona**: [Which persona - link to personas.md]
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
[Entry Point]
|
|
20
|
+
│
|
|
21
|
+
▼
|
|
22
|
+
[Step 1: Action/Screen]
|
|
23
|
+
│
|
|
24
|
+
├── [Happy path] ──▶ [Step 2]
|
|
25
|
+
│ │
|
|
26
|
+
│ ▼
|
|
27
|
+
│ [Step 3: Success]
|
|
28
|
+
│
|
|
29
|
+
└── [Error case] ──▶ [Error handling]
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**Key Considerations**:
|
|
33
|
+
- [Important UX consideration]
|
|
34
|
+
- [Edge case to handle]
|
|
35
|
+
|
|
36
|
+
**Success Metrics**:
|
|
37
|
+
- [How we measure this flow works]
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
### Flow 2: [Flow Name]
|
|
42
|
+
|
|
43
|
+
**Trigger**: [What initiates this flow]
|
|
44
|
+
**Goal**: [What user accomplishes]
|
|
45
|
+
**Persona**: [Which persona]
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
[Entry Point]
|
|
49
|
+
│
|
|
50
|
+
▼
|
|
51
|
+
[Steps...]
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Key Considerations**:
|
|
55
|
+
- [Important UX consideration]
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Secondary Flows
|
|
60
|
+
|
|
61
|
+
### [Flow Name]
|
|
62
|
+
[Brief description of less critical flows]
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## Flow Patterns
|
|
67
|
+
|
|
68
|
+
### Error Handling
|
|
69
|
+
[Standard approach to errors across flows]
|
|
70
|
+
|
|
71
|
+
### Loading States
|
|
72
|
+
[Standard approach to loading states]
|
|
73
|
+
|
|
74
|
+
### Empty States
|
|
75
|
+
[Standard approach to empty states]
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Cross-References
|
|
80
|
+
|
|
81
|
+
| Flow | Related Specs | Related Features |
|
|
82
|
+
|------|---------------|------------------|
|
|
83
|
+
| [Flow] | LIN-XXX | [feature doc] |
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
*Last Updated: YYYY-MM-DD*
|
|
88
|
+
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.4.0",
|
|
3
|
+
"description": "FlyDocs Core - Manifest of all managed files",
|
|
4
|
+
"repository": "github.com/plastrlab/flydocs-core",
|
|
5
|
+
|
|
6
|
+
"ownership": {
|
|
7
|
+
"description": "Defines what FlyDocs owns vs what users can customize",
|
|
8
|
+
|
|
9
|
+
"owned_directories": {
|
|
10
|
+
"description": "Entire directories owned by FlyDocs - contents replaced on update",
|
|
11
|
+
"paths": [
|
|
12
|
+
".flydocs/hooks",
|
|
13
|
+
".flydocs/templates",
|
|
14
|
+
".claude/agents",
|
|
15
|
+
".claude/skills/flydocs-workflow",
|
|
16
|
+
".claude/skills/flydocs-cloud",
|
|
17
|
+
".claude/skills/flydocs-local",
|
|
18
|
+
".claude/skills/flydocs-figma",
|
|
19
|
+
".claude/skills/flydocs-estimates",
|
|
20
|
+
".claude/skills/flydocs-context-graph",
|
|
21
|
+
".claude/skills/implementation-flow",
|
|
22
|
+
".claude/skills/review-workflow",
|
|
23
|
+
".claude/skills/spec-templates",
|
|
24
|
+
".flydocs/scripts",
|
|
25
|
+
".cursor/agents"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
|
|
29
|
+
"owned_files": {
|
|
30
|
+
"description": "Individual files owned by FlyDocs - overwritten on update",
|
|
31
|
+
"paths": [
|
|
32
|
+
".claude/CLAUDE.md",
|
|
33
|
+
".claude/settings.json",
|
|
34
|
+
".claude/commands/activate.md",
|
|
35
|
+
".claude/commands/attach.md",
|
|
36
|
+
".claude/commands/block.md",
|
|
37
|
+
".claude/commands/capture.md",
|
|
38
|
+
".claude/commands/close.md",
|
|
39
|
+
".claude/commands/flydocs-setup.md",
|
|
40
|
+
".claude/commands/flydocs-update.md",
|
|
41
|
+
".claude/commands/implement.md",
|
|
42
|
+
".claude/commands/new-project.md",
|
|
43
|
+
".claude/commands/project-update.md",
|
|
44
|
+
".claude/commands/refine.md",
|
|
45
|
+
".claude/commands/review.md",
|
|
46
|
+
".claude/commands/start-session.md",
|
|
47
|
+
".claude/commands/status.md",
|
|
48
|
+
".claude/commands/validate.md",
|
|
49
|
+
".claude/commands/wrap-session.md",
|
|
50
|
+
".claude/skills/README.md",
|
|
51
|
+
".cursor/hooks.json",
|
|
52
|
+
".flydocs/version",
|
|
53
|
+
".flydocs/CHANGELOG.md",
|
|
54
|
+
"AGENTS.md"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
|
|
58
|
+
"preserved_files": {
|
|
59
|
+
"description": "User's living documentation - evolves with project, protected from FlyDocs updates",
|
|
60
|
+
"paths": [
|
|
61
|
+
".env",
|
|
62
|
+
".env.local",
|
|
63
|
+
".cursor/mcp.json",
|
|
64
|
+
"flydocs/context/project.md",
|
|
65
|
+
"flydocs/knowledge/**",
|
|
66
|
+
"flydocs/design-system/**"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
"merged_files": {
|
|
71
|
+
"description": "Files where specific keys are preserved during update",
|
|
72
|
+
"files": {
|
|
73
|
+
".flydocs/config.json": {
|
|
74
|
+
"preserve_keys": [
|
|
75
|
+
"tier",
|
|
76
|
+
"provider.teamId",
|
|
77
|
+
"workspace.activeProjects",
|
|
78
|
+
"workspace.defaultMilestoneId",
|
|
79
|
+
"workspace.product",
|
|
80
|
+
"issueLabels",
|
|
81
|
+
"statusMapping",
|
|
82
|
+
"detectedStack",
|
|
83
|
+
"mcp",
|
|
84
|
+
"skills",
|
|
85
|
+
"designSystem",
|
|
86
|
+
"aiLabor"
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
|
|
92
|
+
"template_files": {
|
|
93
|
+
"description": "Initial scaffolding - created on setup, then maintained by user as project evolves",
|
|
94
|
+
"paths": [
|
|
95
|
+
".env.example",
|
|
96
|
+
"flydocs/context/project.md",
|
|
97
|
+
"flydocs/knowledge/INDEX.md",
|
|
98
|
+
"flydocs/knowledge/README.md",
|
|
99
|
+
"flydocs/knowledge/product/personas.md",
|
|
100
|
+
"flydocs/knowledge/product/user-flows.md",
|
|
101
|
+
"flydocs/README.md",
|
|
102
|
+
"flydocs/design-system/README.md",
|
|
103
|
+
"flydocs/design-system/token-mapping.md",
|
|
104
|
+
"flydocs/design-system/component-patterns.md"
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
|
|
109
|
+
"files": {
|
|
110
|
+
"description": "Complete file tree for integrity verification",
|
|
111
|
+
"tree": {
|
|
112
|
+
".claude": {
|
|
113
|
+
"root": ["CLAUDE.md", "settings.json"],
|
|
114
|
+
"agents": [
|
|
115
|
+
"README.md",
|
|
116
|
+
"pm-agent.md",
|
|
117
|
+
"implementation-agent.md",
|
|
118
|
+
"review-agent.md",
|
|
119
|
+
"research-agent.md"
|
|
120
|
+
],
|
|
121
|
+
"commands": [
|
|
122
|
+
"activate.md",
|
|
123
|
+
"attach.md",
|
|
124
|
+
"block.md",
|
|
125
|
+
"capture.md",
|
|
126
|
+
"close.md",
|
|
127
|
+
"flydocs-setup.md",
|
|
128
|
+
"flydocs-update.md",
|
|
129
|
+
"implement.md",
|
|
130
|
+
"new-project.md",
|
|
131
|
+
"project-update.md",
|
|
132
|
+
"refine.md",
|
|
133
|
+
"review.md",
|
|
134
|
+
"start-session.md",
|
|
135
|
+
"status.md",
|
|
136
|
+
"validate.md",
|
|
137
|
+
"wrap-session.md"
|
|
138
|
+
],
|
|
139
|
+
"skills": {
|
|
140
|
+
"root": ["README.md"],
|
|
141
|
+
"flydocs-workflow": [
|
|
142
|
+
"SKILL.md",
|
|
143
|
+
"session.md",
|
|
144
|
+
"cursor-rule.mdc",
|
|
145
|
+
"stages/",
|
|
146
|
+
"templates/",
|
|
147
|
+
"reference/"
|
|
148
|
+
],
|
|
149
|
+
"flydocs-cloud": [
|
|
150
|
+
"SKILL.md",
|
|
151
|
+
"cursor-rule.mdc",
|
|
152
|
+
"scripts/"
|
|
153
|
+
],
|
|
154
|
+
"flydocs-local": [
|
|
155
|
+
"SKILL.md",
|
|
156
|
+
"cursor-rule.mdc",
|
|
157
|
+
"scripts/"
|
|
158
|
+
],
|
|
159
|
+
"flydocs-figma": [
|
|
160
|
+
"SKILL.md",
|
|
161
|
+
"references/"
|
|
162
|
+
],
|
|
163
|
+
"flydocs-estimates": [
|
|
164
|
+
"SKILL.md",
|
|
165
|
+
"references/"
|
|
166
|
+
],
|
|
167
|
+
"flydocs-context-graph": [
|
|
168
|
+
"SKILL.md",
|
|
169
|
+
"schema.md",
|
|
170
|
+
"scripts/"
|
|
171
|
+
],
|
|
172
|
+
"implementation-flow": ["SKILL.md"],
|
|
173
|
+
"review-workflow": ["SKILL.md"],
|
|
174
|
+
"spec-templates": ["SKILL.md"]
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
".cursor": {
|
|
178
|
+
"root": ["hooks.json", "mcp.json"],
|
|
179
|
+
"agents": [
|
|
180
|
+
"pm-agent.md",
|
|
181
|
+
"implementation-agent.md",
|
|
182
|
+
"review-agent.md",
|
|
183
|
+
"research-agent.md"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
".flydocs": {
|
|
187
|
+
"root": ["config.json", "version", "CHANGELOG.md"],
|
|
188
|
+
"scripts": [
|
|
189
|
+
"generate_manifest.py",
|
|
190
|
+
"skill_manager.py"
|
|
191
|
+
],
|
|
192
|
+
"hooks": [
|
|
193
|
+
"auto-approve.py",
|
|
194
|
+
"prefer-scripts.py",
|
|
195
|
+
"post-edit.py",
|
|
196
|
+
"prompt-submit.py"
|
|
197
|
+
],
|
|
198
|
+
"templates": [
|
|
199
|
+
"bug.md",
|
|
200
|
+
"chore.md",
|
|
201
|
+
"feature.md",
|
|
202
|
+
"idea.md"
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
"flydocs": {
|
|
206
|
+
"root": ["README.md"],
|
|
207
|
+
"context": ["project.md"],
|
|
208
|
+
"design-system": [
|
|
209
|
+
"README.md",
|
|
210
|
+
"token-mapping.md",
|
|
211
|
+
"component-patterns.md"
|
|
212
|
+
],
|
|
213
|
+
"knowledge": {
|
|
214
|
+
"root": ["INDEX.md", "README.md"],
|
|
215
|
+
"product": ["personas.md", "user-flows.md"]
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"root": ["AGENTS.md", ".env.example"]
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|