@zalom/plastic 1.0.0-beta.35 → 1.0.0-beta.37
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/PLASTIC-reference.md +133 -0
- package/PLASTIC.md +21 -145
- package/README.md +88 -65
- package/agents/plastic-brainstorming.md +2 -6
- package/agents/plastic-enforcer.md +11 -6
- package/agents/plastic-executor.md +2 -6
- package/agents/plastic-future-intent-researcher.md +2 -7
- package/agents/plastic-intent-curator.md +2 -10
- package/agents/plastic-intent-discovery.md +2 -7
- package/agents/plastic-planner.md +2 -6
- package/agents/plastic-spec-specialist.md +2 -6
- package/package.json +2 -1
- package/scripts/install.rb +2 -1
- package/scripts/lib/bridge.rb +73 -2
- package/scripts/lib/installer_core.rb +1 -0
- package/scripts/lib/power_tools.rb +18 -16
- package/skills/auto/SKILL.md +40 -38
- package/skills/auto/references/end-tail.md +56 -0
- package/skills/auto/references/human-report-contract.md +55 -0
- package/skills/brainstorming/SKILL.md +7 -34
- package/skills/brainstorming/references/design-principles.md +49 -0
- package/skills/creating-intent/SKILL.md +5 -26
- package/skills/creating-project/SKILL.md +11 -74
- package/skills/creating-project/references/project-scaffolding.md +97 -0
- package/skills/dashboard/SKILL.md +2 -17
- package/skills/dashboard/references/classification.md +22 -0
- package/skills/install/SKILL.md +1 -1
- package/skills/releasing/SKILL.md +14 -46
- package/skills/releasing/references/promotion-and-tagging.md +60 -0
- package/skills/writing-plans/SKILL.md +10 -88
- package/skills/writing-plans/references/plan-format.md +102 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Plan, Checklist, and Action Format
|
|
2
|
+
|
|
3
|
+
The exact templates for `plan.md`'s header and task structure, and for the
|
|
4
|
+
`checklist.md` and `actions/ACTION_N.md` artifacts. Read this before writing
|
|
5
|
+
plan.md so the shape matches on the first pass.
|
|
6
|
+
|
|
7
|
+
## Table of Contents
|
|
8
|
+
|
|
9
|
+
- [Plan Document Header](#plan-document-header)
|
|
10
|
+
- [Task Structure (worked example)](#task-structure-worked-example)
|
|
11
|
+
- [checklist.md format](#checklistmd-format)
|
|
12
|
+
- [actions/ACTION_N.md format](#actionsaction_nmd-format)
|
|
13
|
+
|
|
14
|
+
## Plan Document Header
|
|
15
|
+
|
|
16
|
+
**Every plan MUST start with this header:**
|
|
17
|
+
|
|
18
|
+
```markdown
|
|
19
|
+
# [Feature Name] Implementation Plan
|
|
20
|
+
|
|
21
|
+
> **For agentic workers:** Use `plastic-executing-plan` to implement this plan task-by-task.
|
|
22
|
+
|
|
23
|
+
**Goal:** [One sentence describing what this builds]
|
|
24
|
+
|
|
25
|
+
**Architecture:** [2-3 sentences about approach]
|
|
26
|
+
|
|
27
|
+
**Tech Stack:** [Key technologies/libraries]
|
|
28
|
+
|
|
29
|
+
**Intent:** {id} — {name}
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Task Structure (worked example)
|
|
35
|
+
|
|
36
|
+
````markdown
|
|
37
|
+
### Task N: [Component Name]
|
|
38
|
+
|
|
39
|
+
**Files:**
|
|
40
|
+
- Create: `exact/path/to/file.rb`
|
|
41
|
+
- Modify: `exact/path/to/existing.rb:123-145`
|
|
42
|
+
- Test: `test/exact/path/to/test.rb`
|
|
43
|
+
|
|
44
|
+
- [ ] **Step 1: Write the failing test**
|
|
45
|
+
|
|
46
|
+
```ruby
|
|
47
|
+
def test_specific_behavior
|
|
48
|
+
result = function(input)
|
|
49
|
+
assert_equal expected, result
|
|
50
|
+
end
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
- [ ] **Step 2: Run test to verify it fails**
|
|
54
|
+
|
|
55
|
+
Run: `ruby -Itest test/path/test.rb --name test_specific_behavior`
|
|
56
|
+
Expected: FAIL with "undefined method"
|
|
57
|
+
|
|
58
|
+
- [ ] **Step 3: Write minimal implementation**
|
|
59
|
+
|
|
60
|
+
```ruby
|
|
61
|
+
def function(input)
|
|
62
|
+
expected
|
|
63
|
+
end
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
- [ ] **Step 4: Run test to verify it passes**
|
|
67
|
+
|
|
68
|
+
Run: `ruby -Itest test/path/test.rb --name test_specific_behavior`
|
|
69
|
+
Expected: PASS
|
|
70
|
+
|
|
71
|
+
- [ ] **Step 5: Commit**
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
git add test/path/test.rb lib/path/file.rb
|
|
75
|
+
git commit -m "feat: add specific feature"
|
|
76
|
+
```
|
|
77
|
+
````
|
|
78
|
+
|
|
79
|
+
## checklist.md format
|
|
80
|
+
|
|
81
|
+
Execution registry with one checkbox per task. Format:
|
|
82
|
+
|
|
83
|
+
```markdown
|
|
84
|
+
# Checklist — Intent {id}: {name}
|
|
85
|
+
|
|
86
|
+
- [ ] Task 1: {task title}
|
|
87
|
+
- [ ] Task 2: {task title}
|
|
88
|
+
- [ ] Task 3: {task title}
|
|
89
|
+
...
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## actions/ACTION_N.md format
|
|
93
|
+
|
|
94
|
+
One file per task. Each action is self-contained — a subagent can execute it without reading the plan.
|
|
95
|
+
|
|
96
|
+
```markdown
|
|
97
|
+
# Action {N}: {task title}
|
|
98
|
+
|
|
99
|
+
{Full task text copied from plan.md — all steps, all code, all commands. Nothing omitted.}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Create the `actions/` directory inside the intent directory: `{intent_dir}/actions/`
|