@odarino/haren 1.6.0 → 1.8.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/CHANGELOG.md +35 -0
- package/README.md +71 -10
- package/content/agents/developer.md +4 -3
- package/content/agents/planner.md +3 -1
- package/content/agents/reviewer.md +2 -0
- package/content/skills/collect-components/SKILL.md +81 -0
- package/content/skills/evaluate/SKILL.md +4 -1
- package/content/skills/generate-mockup/SKILL.md +29 -1
- package/content/skills/implement/SKILL.md +38 -11
- package/content/skills/plan/SKILL.md +21 -4
- package/content/skills/read-context/SKILL.md +1 -1
- package/content/skills/update-tracking/SKILL.md +1 -0
- package/content/skills/validate-artifact/SKILL.md +13 -0
- package/content/skills/visual-companion/SKILL.md +2 -5
- package/content/templates/checklist.md +26 -0
- package/content/templates/component-catalog.md +41 -0
- package/content/templates/design.md +1 -0
- package/content/templates/task-brief.md +40 -0
- package/content/templates/tasks.md +2 -0
- package/dist/index.js +2003 -460
- package/package.json +4 -3
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Component Catalog
|
|
3
|
+
updated: {date}
|
|
4
|
+
last_scan: {full | incremental <repoKey>@<sha>, ...}
|
|
5
|
+
owner: Dev
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Component Catalog
|
|
9
|
+
|
|
10
|
+
Common UI components, shared services and shared functions of the target repos. The collect-components skill updates this file. The plan skill reads it before the reuse inventory.
|
|
11
|
+
|
|
12
|
+
## UI Components
|
|
13
|
+
|
|
14
|
+
### {Name}
|
|
15
|
+
- **Kind:** UI component
|
|
16
|
+
- **Path:** `{repoKey}:{file}:{line}`
|
|
17
|
+
- **API:** {props, variants, states}
|
|
18
|
+
- **Use for:** {when to pick this}
|
|
19
|
+
- **Used by:** {modules}
|
|
20
|
+
- **Sketch:**
|
|
21
|
+
```
|
|
22
|
+
{ASCII sketch, 8 lines or fewer}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Shared Services
|
|
26
|
+
|
|
27
|
+
### {Name}
|
|
28
|
+
- **Kind:** Shared service
|
|
29
|
+
- **Path:** `{repoKey}:{file}:{line}`
|
|
30
|
+
- **API:** {public methods, side effects, tables it writes}
|
|
31
|
+
- **Use for:** {when to pick this}
|
|
32
|
+
- **Used by:** {modules}
|
|
33
|
+
|
|
34
|
+
## Shared Functions
|
|
35
|
+
|
|
36
|
+
### {Name}
|
|
37
|
+
- **Kind:** Shared function
|
|
38
|
+
- **Path:** `{repoKey}:{file}:{line}`
|
|
39
|
+
- **API:** {signature → return}
|
|
40
|
+
- **Use for:** {when to pick this}
|
|
41
|
+
- **Used by:** {modules}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Task {{number}}: {{title}}
|
|
2
|
+
|
|
3
|
+
You are the executor for one task of a planned module. Write the code and the tests for this task only.
|
|
4
|
+
|
|
5
|
+
## Goal
|
|
6
|
+
|
|
7
|
+
{{description}}
|
|
8
|
+
|
|
9
|
+
## Acceptance criteria
|
|
10
|
+
|
|
11
|
+
The task must meet the acceptance criteria of these stories in the spec: {{stories}}.
|
|
12
|
+
|
|
13
|
+
## Files to read
|
|
14
|
+
|
|
15
|
+
- Spec: `{{specPath}}`
|
|
16
|
+
- Design: `{{designPath}}`
|
|
17
|
+
|
|
18
|
+
## Files to change
|
|
19
|
+
|
|
20
|
+
{{files}}
|
|
21
|
+
|
|
22
|
+
## Interfaces
|
|
23
|
+
|
|
24
|
+
{{interfaces}}
|
|
25
|
+
|
|
26
|
+
## Test command
|
|
27
|
+
|
|
28
|
+
Run this command before you stop. It must pass:
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
{{test}}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Rules
|
|
35
|
+
|
|
36
|
+
- Do not write to the haren folder (`{{harenDir}}`). Read it only.
|
|
37
|
+
- Do not commit. Do not create, switch or change branches.
|
|
38
|
+
- Do not write files outside this repo.
|
|
39
|
+
- Change only what the task needs.
|
|
40
|
+
{{feedback}}
|