5-phase-workflow 1.0.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 +332 -0
- package/bin/install.js +408 -0
- package/docs/workflow-guide.md +1024 -0
- package/package.json +34 -0
- package/src/agents/integration-agent.md +219 -0
- package/src/agents/review-processor.md +160 -0
- package/src/agents/step-executor.md +108 -0
- package/src/agents/step-fixer.md +132 -0
- package/src/agents/step-verifier.md +125 -0
- package/src/agents/verification-agent.md +411 -0
- package/src/commands/5/configure.md +309 -0
- package/src/commands/5/discuss-feature.md +393 -0
- package/src/commands/5/implement-feature.md +502 -0
- package/src/commands/5/plan-feature.md +285 -0
- package/src/commands/5/plan-implementation.md +376 -0
- package/src/commands/5/quick-implement.md +263 -0
- package/src/commands/5/review-code.md +583 -0
- package/src/commands/5/verify-implementation.md +277 -0
- package/src/hooks/statusline.js +53 -0
- package/src/settings.json +6 -0
- package/src/skills/build-project/SKILL.md +277 -0
- package/src/skills/configure-project/SKILL.md +355 -0
- package/src/skills/generate-readme/EXAMPLES.md +168 -0
- package/src/skills/generate-readme/SKILL.md +123 -0
- package/src/skills/generate-readme/TEMPLATE.md +141 -0
- package/src/skills/run-tests/SKILL.md +365 -0
- package/src/templates/ARCHITECTURE.md +64 -0
- package/src/templates/CONCERNS.md +75 -0
- package/src/templates/CONVENTIONS.md +75 -0
- package/src/templates/INTEGRATIONS.md +65 -0
- package/src/templates/STACK.md +60 -0
- package/src/templates/STRUCTURE.md +60 -0
- package/src/templates/TESTING.md +107 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# External Integrations
|
|
2
|
+
|
|
3
|
+
**Analysis Date:** {YYYY-MM-DD}
|
|
4
|
+
|
|
5
|
+
## APIs & External Services
|
|
6
|
+
|
|
7
|
+
**{Category}:**
|
|
8
|
+
- {Service} - {What it's used for}
|
|
9
|
+
- SDK/Client: {package}
|
|
10
|
+
- Auth: {env var name}
|
|
11
|
+
|
|
12
|
+
## Data Storage
|
|
13
|
+
|
|
14
|
+
**Databases:**
|
|
15
|
+
- {Type/Provider}
|
|
16
|
+
- Connection: {env var}
|
|
17
|
+
- Client: {ORM/client}
|
|
18
|
+
|
|
19
|
+
**File Storage:**
|
|
20
|
+
- {Service or "Local filesystem only"}
|
|
21
|
+
|
|
22
|
+
**Caching:**
|
|
23
|
+
- {Service or "None"}
|
|
24
|
+
|
|
25
|
+
## Authentication & Identity
|
|
26
|
+
|
|
27
|
+
**Auth Provider:**
|
|
28
|
+
- {Service or "Custom"}
|
|
29
|
+
- Implementation: {approach}
|
|
30
|
+
|
|
31
|
+
## Monitoring & Observability
|
|
32
|
+
|
|
33
|
+
**Error Tracking:**
|
|
34
|
+
- {Service or "None"}
|
|
35
|
+
|
|
36
|
+
**Logs:**
|
|
37
|
+
- {Approach}
|
|
38
|
+
|
|
39
|
+
## CI/CD & Deployment
|
|
40
|
+
|
|
41
|
+
**Hosting:**
|
|
42
|
+
- {Platform}
|
|
43
|
+
|
|
44
|
+
**CI Pipeline:**
|
|
45
|
+
- {Service or "None"}
|
|
46
|
+
|
|
47
|
+
## Environment Configuration
|
|
48
|
+
|
|
49
|
+
**Required env vars:**
|
|
50
|
+
- {List critical vars}
|
|
51
|
+
|
|
52
|
+
**Secrets location:**
|
|
53
|
+
- {Where secrets are stored}
|
|
54
|
+
|
|
55
|
+
## Webhooks & Callbacks
|
|
56
|
+
|
|
57
|
+
**Incoming:**
|
|
58
|
+
- {Endpoints or "None"}
|
|
59
|
+
|
|
60
|
+
**Outgoing:**
|
|
61
|
+
- {Endpoints or "None"}
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
*Integration audit: {date}*
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Technology Stack
|
|
2
|
+
|
|
3
|
+
**Analysis Date:** {YYYY-MM-DD}
|
|
4
|
+
|
|
5
|
+
## Languages
|
|
6
|
+
|
|
7
|
+
**Primary:**
|
|
8
|
+
- {Language} {Version} - {Where used}
|
|
9
|
+
|
|
10
|
+
**Secondary:**
|
|
11
|
+
- {Language} {Version} - {Where used}
|
|
12
|
+
|
|
13
|
+
## Runtime
|
|
14
|
+
|
|
15
|
+
**Environment:**
|
|
16
|
+
- {Runtime} {Version}
|
|
17
|
+
|
|
18
|
+
**Package Manager:**
|
|
19
|
+
- {Manager} {Version}
|
|
20
|
+
- Lockfile: {present/missing}
|
|
21
|
+
|
|
22
|
+
## Frameworks
|
|
23
|
+
|
|
24
|
+
**Core:**
|
|
25
|
+
- {Framework} {Version} - {Purpose}
|
|
26
|
+
|
|
27
|
+
**Testing:**
|
|
28
|
+
- {Framework} {Version} - {Purpose}
|
|
29
|
+
|
|
30
|
+
**Build/Dev:**
|
|
31
|
+
- {Tool} {Version} - {Purpose}
|
|
32
|
+
|
|
33
|
+
## Key Dependencies
|
|
34
|
+
|
|
35
|
+
**Critical:**
|
|
36
|
+
- {Package} {Version} - {Why it matters}
|
|
37
|
+
|
|
38
|
+
**Infrastructure:**
|
|
39
|
+
- {Package} {Version} - {Purpose}
|
|
40
|
+
|
|
41
|
+
## Configuration
|
|
42
|
+
|
|
43
|
+
**Environment:**
|
|
44
|
+
- {How configured}
|
|
45
|
+
- {Key configs required}
|
|
46
|
+
|
|
47
|
+
**Build:**
|
|
48
|
+
- {Build config files}
|
|
49
|
+
|
|
50
|
+
## Platform Requirements
|
|
51
|
+
|
|
52
|
+
**Development:**
|
|
53
|
+
- {Requirements}
|
|
54
|
+
|
|
55
|
+
**Production:**
|
|
56
|
+
- {Deployment target}
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
*Stack analysis: {date}*
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Codebase Structure
|
|
2
|
+
|
|
3
|
+
**Analysis Date:** {YYYY-MM-DD}
|
|
4
|
+
|
|
5
|
+
## Directory Layout
|
|
6
|
+
|
|
7
|
+
{project-root} {dir} # {Purpose} / {dir} # {Purpose} / {file} # {Purpose}
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Directory Purposes
|
|
11
|
+
|
|
12
|
+
**{Directory Name}:**
|
|
13
|
+
- Purpose: {What lives here}
|
|
14
|
+
- Contains: {Types of files}
|
|
15
|
+
- Key files: `{important files}`
|
|
16
|
+
|
|
17
|
+
## Key File Locations
|
|
18
|
+
|
|
19
|
+
**Entry Points:**
|
|
20
|
+
- `{path}`: {Purpose}
|
|
21
|
+
|
|
22
|
+
**Configuration:**
|
|
23
|
+
- `{path}`: {Purpose}
|
|
24
|
+
|
|
25
|
+
**Core Logic:**
|
|
26
|
+
- `{path}`: {Purpose}
|
|
27
|
+
|
|
28
|
+
**Testing:**
|
|
29
|
+
- `{path}`: {Purpose}
|
|
30
|
+
|
|
31
|
+
## Naming Conventions
|
|
32
|
+
|
|
33
|
+
**Files:**
|
|
34
|
+
- {Pattern}: {Example}
|
|
35
|
+
|
|
36
|
+
**Directories:**
|
|
37
|
+
- {Pattern}: {Example}
|
|
38
|
+
|
|
39
|
+
## Where to Add New Code
|
|
40
|
+
|
|
41
|
+
**New Feature:**
|
|
42
|
+
- Primary code: `{path}`
|
|
43
|
+
- Tests: `{path}`
|
|
44
|
+
|
|
45
|
+
**New Component/Module:**
|
|
46
|
+
- Implementation: `{path}`
|
|
47
|
+
|
|
48
|
+
**Utilities:**
|
|
49
|
+
- Shared helpers: `{path}`
|
|
50
|
+
|
|
51
|
+
## Special Directories
|
|
52
|
+
|
|
53
|
+
**{Directory}:**
|
|
54
|
+
- Purpose: {What it contains}
|
|
55
|
+
- Generated: {Yes/No}
|
|
56
|
+
- Committed: {Yes/No}
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
*Structure analysis: {date}*
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Testing Patterns
|
|
2
|
+
|
|
3
|
+
**Analysis Date:** {YYYY-MM-DD}
|
|
4
|
+
|
|
5
|
+
## Test Framework
|
|
6
|
+
|
|
7
|
+
**Runner:**
|
|
8
|
+
- {Framework} {Version}
|
|
9
|
+
- Config: `{config file}`
|
|
10
|
+
|
|
11
|
+
**Assertion Library:**
|
|
12
|
+
- {Library}
|
|
13
|
+
|
|
14
|
+
**Run Commands:**
|
|
15
|
+
```bash
|
|
16
|
+
{command} # Run all tests
|
|
17
|
+
{command} # Watch mode
|
|
18
|
+
{command} # Coverage
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Test File Organization
|
|
22
|
+
|
|
23
|
+
**Location:**
|
|
24
|
+
|
|
25
|
+
{Pattern: co-located or separate}
|
|
26
|
+
|
|
27
|
+
**Naming:**
|
|
28
|
+
|
|
29
|
+
{Pattern}
|
|
30
|
+
|
|
31
|
+
**Structure:**
|
|
32
|
+
|
|
33
|
+
{Directory pattern}
|
|
34
|
+
|
|
35
|
+
## Test Structure
|
|
36
|
+
|
|
37
|
+
**Suite Organization:**
|
|
38
|
+
|
|
39
|
+
{Show actual pattern from codebase}
|
|
40
|
+
|
|
41
|
+
**Patterns:**
|
|
42
|
+
|
|
43
|
+
- {Setup pattern}
|
|
44
|
+
- {Teardown pattern}
|
|
45
|
+
- {Assertion pattern}
|
|
46
|
+
|
|
47
|
+
## Mocking
|
|
48
|
+
|
|
49
|
+
**Framework:**
|
|
50
|
+
- {Tool}
|
|
51
|
+
|
|
52
|
+
**Patterns:**
|
|
53
|
+
|
|
54
|
+
{Show actual mocking pattern from codebase}
|
|
55
|
+
|
|
56
|
+
**What to Mock:**
|
|
57
|
+
|
|
58
|
+
{Guidelines}
|
|
59
|
+
|
|
60
|
+
**What NOT to Mock:**
|
|
61
|
+
|
|
62
|
+
{Guidelines}
|
|
63
|
+
|
|
64
|
+
## Fixtures and Factories
|
|
65
|
+
|
|
66
|
+
**Test Data:**
|
|
67
|
+
|
|
68
|
+
{Show pattern from codebase}
|
|
69
|
+
|
|
70
|
+
**Location:**
|
|
71
|
+
|
|
72
|
+
{Where fixtures live}
|
|
73
|
+
|
|
74
|
+
## Coverage
|
|
75
|
+
|
|
76
|
+
**Requirements:**
|
|
77
|
+
- {Target or "None enforced"}
|
|
78
|
+
|
|
79
|
+
**View Coverage:**
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
{command}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Test Types
|
|
86
|
+
|
|
87
|
+
**Unit Tests:**
|
|
88
|
+
|
|
89
|
+
{Scope and approach}
|
|
90
|
+
|
|
91
|
+
**Integration Tests:**
|
|
92
|
+
|
|
93
|
+
{Scope and approach}
|
|
94
|
+
|
|
95
|
+
**E2E Tests:**
|
|
96
|
+
|
|
97
|
+
{Framework or "Not used"}
|
|
98
|
+
|
|
99
|
+
## Common Patterns
|
|
100
|
+
|
|
101
|
+
**Async Testing:**
|
|
102
|
+
|
|
103
|
+
{Pattern}
|
|
104
|
+
|
|
105
|
+
**Error Testing:**
|
|
106
|
+
|
|
107
|
+
{Pattern}
|