@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.
@@ -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}
@@ -29,6 +29,7 @@ date: {date}
29
29
 
30
30
  ### Screen: {screen name}
31
31
  **Chosen:** option {A|B|C}
32
+ **Mockup page:** {url} (Claude Artifact, private) <!-- only in artifact mode -->
32
33
 
33
34
  ```
34
35
  {ASCII wireframe of the chosen option}
@@ -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}}
@@ -10,6 +10,8 @@ owner: Dev
10
10
  ## Task 1: {title}
11
11
 
12
12
  **Story:** STORY-{NNN}
13
+ **Repo:** {repo key; only when the module has more than one repo}
14
+ **Test:** `{command that runs this task's tests}`
13
15
  **Description:** {what to do}
14
16
  **Files:**
15
17
  - Create: `{path}`