@jadeit/forge-ai 1.2.1 → 1.4.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/agents/build-agent.md +29 -44
- package/agents/design-agent.md +41 -1
- package/agents/feature-dev/implement.md +11 -0
- package/agents/feature-dev/review.md +3 -0
- package/agents/feature-dev/summarise.md +12 -0
- package/agents/plan-agent.md +12 -1
- package/dist/agents/build-agent.md +29 -44
- package/dist/agents/design-agent.md +41 -1
- package/dist/agents/feature-dev/implement.md +11 -0
- package/dist/agents/feature-dev/review.md +3 -0
- package/dist/agents/feature-dev/summarise.md +12 -0
- package/dist/agents/plan-agent.md +12 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -10
- package/dist/index.js.map +1 -1
- package/dist/skills/forge-build/SKILL.md +48 -0
- package/dist/skills/forge-build-approach/SKILL.md +39 -0
- package/dist/skills/forge-build-clarify/SKILL.md +40 -0
- package/dist/skills/forge-build-discover/SKILL.md +35 -0
- package/dist/skills/forge-build-explore/SKILL.md +31 -0
- package/dist/skills/forge-build-implement/SKILL.md +39 -0
- package/dist/skills/forge-build-review/SKILL.md +51 -0
- package/dist/skills/forge-build-summarise/SKILL.md +51 -0
- package/dist/skills/forge-build-validate/SKILL.md +50 -0
- package/dist/skills/forge-deploy/SKILL.md +52 -0
- package/dist/skills/forge-design/SKILL.md +53 -0
- package/dist/skills/forge-init/SKILL.md +83 -0
- package/dist/skills/forge-maintain/SKILL.md +53 -0
- package/dist/skills/forge-plan/SKILL.md +50 -0
- package/dist/skills/forge-status/SKILL.md +59 -0
- package/dist/skills/forge-test/SKILL.md +47 -0
- package/package.json +1 -1
- package/skills/forge-build/SKILL.md +48 -0
- package/skills/forge-build-approach/SKILL.md +39 -0
- package/skills/forge-build-clarify/SKILL.md +40 -0
- package/skills/forge-build-discover/SKILL.md +35 -0
- package/skills/forge-build-explore/SKILL.md +31 -0
- package/skills/forge-build-implement/SKILL.md +39 -0
- package/skills/forge-build-review/SKILL.md +51 -0
- package/skills/forge-build-summarise/SKILL.md +51 -0
- package/skills/forge-build-validate/SKILL.md +50 -0
- package/skills/forge-deploy/SKILL.md +52 -0
- package/skills/forge-design/SKILL.md +53 -0
- package/skills/forge-init/SKILL.md +83 -0
- package/skills/forge-maintain/SKILL.md +53 -0
- package/skills/forge-plan/SKILL.md +50 -0
- package/skills/forge-status/SKILL.md +59 -0
- package/skills/forge-test/SKILL.md +47 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: forge-plan
|
|
3
|
+
description: Forge AI Phase 1 - Planning and requirement analysis
|
|
4
|
+
license: MIT
|
|
5
|
+
compatibility: opencode
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Forge AI: Phase 1 - Planning
|
|
9
|
+
|
|
10
|
+
Invoke the `@forge-plan` agent to begin Phase 1: Planning.
|
|
11
|
+
|
|
12
|
+
## What Happens
|
|
13
|
+
|
|
14
|
+
1. Context is loaded (existing README/brief if present)
|
|
15
|
+
2. Planning agent creates required documents:
|
|
16
|
+
- `docs/planning/project-scope.md`
|
|
17
|
+
- `docs/planning/user-stories.md`
|
|
18
|
+
- `docs/planning/implementation-plan.md`
|
|
19
|
+
- `docs/planning/technology-and-architecture.md`
|
|
20
|
+
3. Agent validates all required artifacts exist
|
|
21
|
+
4. State is updated in `.forge/state.yaml`
|
|
22
|
+
5. You confirm transition to Phase 2
|
|
23
|
+
|
|
24
|
+
## Phase 1 Outputs
|
|
25
|
+
|
|
26
|
+
| Document | Purpose |
|
|
27
|
+
|----------|---------|
|
|
28
|
+
| project-scope.md | Project aim, high-level design, technology choices |
|
|
29
|
+
| user-stories.md | User stories that drive development |
|
|
30
|
+
| implementation-plan.md | High-level phases to be implemented |
|
|
31
|
+
| technology-and-architecture.md | Tech choices and architecture (C4 Model) |
|
|
32
|
+
|
|
33
|
+
## Constraints
|
|
34
|
+
|
|
35
|
+
- NO executable code, scaffolding, or infrastructure
|
|
36
|
+
- Illustrative code snippets ARE permitted
|
|
37
|
+
- Use Mermaid diagrams for architecture
|
|
38
|
+
|
|
39
|
+
## Flags
|
|
40
|
+
|
|
41
|
+
- `--only {artifact}` - Work on specific artifact only
|
|
42
|
+
- Options: project-scope, user-stories, implementation-plan, technology
|
|
43
|
+
|
|
44
|
+
## Prerequisites
|
|
45
|
+
|
|
46
|
+
None — Phase 1 is the starting point.
|
|
47
|
+
|
|
48
|
+
## Next Steps
|
|
49
|
+
|
|
50
|
+
After Phase 1 complete, use `/forge-design` for Phase 2: Design.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: forge-status
|
|
3
|
+
description: Forge AI - Diagnose and recover from state inconsistencies
|
|
4
|
+
license: MIT
|
|
5
|
+
compatibility: opencode
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Forge Status - State Recovery
|
|
9
|
+
|
|
10
|
+
Diagnose and recover from Forge state inconsistencies.
|
|
11
|
+
|
|
12
|
+
## What It Checks
|
|
13
|
+
|
|
14
|
+
### 1. Phase Consistency
|
|
15
|
+
- Verify `project_phase` matches phase_history
|
|
16
|
+
- Check for orphaned phase entries
|
|
17
|
+
- Validate phase transitions are logical
|
|
18
|
+
|
|
19
|
+
### 2. Feature State Integrity
|
|
20
|
+
- Validate all features have required fields
|
|
21
|
+
- Check current_sub_phase is valid (1_discover through 8_summarise)
|
|
22
|
+
- Verify task_document paths exist
|
|
23
|
+
|
|
24
|
+
### 3. Task Document References
|
|
25
|
+
- Verify all referenced task documents exist
|
|
26
|
+
- Check for broken references
|
|
27
|
+
- Validate frontmatter consistency
|
|
28
|
+
|
|
29
|
+
### 4. Rework Tracking
|
|
30
|
+
- Report rework loop counts
|
|
31
|
+
- Warn if approaching thresholds
|
|
32
|
+
|
|
33
|
+
### 5. Context Budget
|
|
34
|
+
- Report context usage
|
|
35
|
+
- Warn if approaching limits
|
|
36
|
+
|
|
37
|
+
## Diagnostic Output Format
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
Forge Status Report
|
|
41
|
+
====================
|
|
42
|
+
|
|
43
|
+
Phase: 3 (Development)
|
|
44
|
+
Active Features: 2
|
|
45
|
+
- auth-system: 5_implement (loops: 1/3)
|
|
46
|
+
- api-gateway: 3_clarify (loops: 0/3)
|
|
47
|
+
|
|
48
|
+
Issues Found: 1
|
|
49
|
+
⚠ WARN: docs/design/tasks/legacy-task.md references non-existent task
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Recovery Actions
|
|
53
|
+
|
|
54
|
+
| Issue | Recovery |
|
|
55
|
+
|-------|----------|
|
|
56
|
+
| Missing phase history | Rebuild from artifacts |
|
|
57
|
+
| Invalid sub-phase | Reset to valid state |
|
|
58
|
+
| Broken task ref | Remove orphaned reference |
|
|
59
|
+
| Corrupted state | Offer state reset |
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: forge-test
|
|
3
|
+
description: Forge AI Phase 4 - Functional testing and UAT
|
|
4
|
+
license: MIT
|
|
5
|
+
compatibility: opencode
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Forge AI: Phase 4 - Testing
|
|
9
|
+
|
|
10
|
+
Invoke the `@forge-test` agent to begin User Acceptance Testing.
|
|
11
|
+
|
|
12
|
+
## What Happens
|
|
13
|
+
|
|
14
|
+
1. User stories and acceptance criteria are loaded
|
|
15
|
+
2. UAT checklist is presented
|
|
16
|
+
3. For each item, you confirm: passed / failed / skipped
|
|
17
|
+
4. Failed items → defect reports created in `docs/defects/`
|
|
18
|
+
5. Results → `docs/testing/uat-results.md`
|
|
19
|
+
6. State updated after your sign-off
|
|
20
|
+
|
|
21
|
+
## UAT Gate Process
|
|
22
|
+
|
|
23
|
+
1. Present checklist of user stories with acceptance criteria
|
|
24
|
+
2. You verify each by running the project locally
|
|
25
|
+
3. For each item: PASSED / FAILED / SKIPPED
|
|
26
|
+
4. Failed items produce defect reports
|
|
27
|
+
5. Skipped items logged with reason
|
|
28
|
+
6. Phase 5 proceeds only after your sign-off
|
|
29
|
+
|
|
30
|
+
## Requirements
|
|
31
|
+
|
|
32
|
+
User acceptance testing MUST be done by:
|
|
33
|
+
- Running the project locally
|
|
34
|
+
- Validating each user story against implementation
|
|
35
|
+
- NOT just running automated tests
|
|
36
|
+
|
|
37
|
+
## Defect Handling
|
|
38
|
+
|
|
39
|
+
For failed items:
|
|
40
|
+
1. Create defect report in `docs/defects/`
|
|
41
|
+
2. Document reproduction steps
|
|
42
|
+
3. Classify: design or implementation
|
|
43
|
+
4. Route to appropriate phase
|
|
44
|
+
|
|
45
|
+
## Next Steps
|
|
46
|
+
|
|
47
|
+
After Phase 4 complete, use `/forge-deploy` for Phase 5: Deployment.
|