You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/add-model/SKILL.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,22 @@ Key decisions:
85
85
-**`dims()`:** returns the configuration space dimensions (e.g., `vec![2; n]` for binary variables)
86
86
-**`evaluate()`:** must check feasibility first, then compute objective
87
87
88
+
## Step 2.5: Register variant complexity
89
+
90
+
Add `declare_variants!` at the bottom of the model file (after the trait impls, before the test link). Each line declares a concrete type instantiation with its best-known worst-case complexity:
Invoke the `/write-rule-in-paper` skill to write the reduction-rule entry in `docs/paper/reductions.typ`. That skill covers the full authoring process: complexity citation, self-contained proof, detailed worked example, and verification checklist.
133
133
134
-
## Step 6: Regenerate graph and verify
134
+
## Step 6: Regenerate exports and verify
135
135
136
136
```bash
137
-
cargo run --example export_graph # Update reduction_graph.json
138
-
make test clippy # Must pass
137
+
cargo run --example export_graph # Update reduction_graph.json
138
+
cargo run --example export_schemas # Update problem schemas
139
+
make test clippy # Must pass
139
140
```
140
141
141
142
Then run the [review-implementation](../review-implementation/SKILL.md) skill to verify all structural and semantic checks pass.
Copy file name to clipboardExpand all lines: .claude/skills/review-implementation/SKILL.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,7 @@ Dispatches two parallel review subagents with fresh context (no implementation h
21
21
Determine whether new model/rule files were added:
22
22
23
23
```bash
24
-
# Check for NEW files (not just modifications)
25
-
git diff --name-only --diff-filter=A HEAD~1..HEAD
26
-
# Also check against main for branch-level changes
24
+
# Check for NEW files across the entire branch
27
25
git diff --name-only --diff-filter=A main..HEAD
28
26
```
29
27
@@ -77,7 +75,7 @@ If an issue is found, pass it as `{ISSUE_CONTEXT}` to both subagents. If not, se
77
75
78
76
### Structural Reviewer (if new model/rule detected)
79
77
80
-
Dispatch using `Task` tool with `subagent_type="superpowers:code-reviewer"`:
78
+
Dispatch using `Agent` tool with `subagent_type="superpowers:code-reviewer"`:
81
79
82
80
- Read `structural-reviewer-prompt.md` from this skill directory
83
81
- Fill placeholders:
@@ -90,7 +88,7 @@ Dispatch using `Task` tool with `subagent_type="superpowers:code-reviewer"`:
90
88
91
89
### Quality Reviewer (always)
92
90
93
-
Dispatch using `Task` tool with `subagent_type="superpowers:code-reviewer"`:
91
+
Dispatch using `Agent` tool with `subagent_type="superpowers:code-reviewer"`:
94
92
95
93
- Read `quality-reviewer-prompt.md` from this skill directory
96
94
- Fill placeholders:
@@ -101,7 +99,7 @@ Dispatch using `Task` tool with `subagent_type="superpowers:code-reviewer"`:
101
99
-`{ISSUE_CONTEXT}` -> full issue title + body (or "No linked issue found.")
102
100
- Prompt = filled template
103
101
104
-
**Both subagents must be dispatched in parallel** (single message, two Task tool calls).
102
+
**Both subagents must be dispatched in parallel** (single message with two Agent tool calls — use `run_in_background: true` on one, foreground on the other, then read the background result with `TaskOutput`).
0 commit comments