Skip to content

Commit 3ddc415

Browse files
committed
update skills
1 parent ef2905f commit 3ddc415

6 files changed

Lines changed: 11 additions & 16 deletions

File tree

.claude/CLAUDE.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
Rust library for NP-hard problem reductions. Implements computational problems with reduction rules for transforming between equivalent formulations.
55

66
## Skills
7-
- [issue-to-pr](skills/issue-to-pr.md) -- Convert a GitHub issue into a PR with an implementation plan. Validates the issue against the appropriate checklist, then dispatches to `add-model` or `add-rule`.
8-
- [add-model](skills/add-model.md) -- Add a new problem model. Can be used standalone (brainstorms with user) or called from `issue-to-pr`.
9-
- [add-rule](skills/add-rule.md) -- Add a new reduction rule. Can be used standalone (brainstorms with user) or called from `issue-to-pr`.
10-
- [review-implementation](skills/review-implementation.md) -- Review a model or rule implementation for completeness. Auto-detects type from changed files. Called automatically at the end of `add-model`/`add-rule`, or standalone via `/review-implementation`.
11-
- [release](skills/release.md) -- Create a new crate release. Determines version bump from diff, verifies tests/clippy, then runs `make release`.
7+
- [issue-to-pr](skills/issue-to-pr/SKILL.md) -- Convert a GitHub issue into a PR with an implementation plan. Validates the issue against the appropriate checklist, then dispatches to `add-model` or `add-rule`.
8+
- [add-model](skills/add-model/SKILL.md) -- Add a new problem model. Can be used standalone (brainstorms with user) or called from `issue-to-pr`.
9+
- [add-rule](skills/add-rule/SKILL.md) -- Add a new reduction rule. Can be used standalone (brainstorms with user) or called from `issue-to-pr`.
10+
- [review-implementation](skills/review-implementation/SKILL.md) -- Review a model or rule implementation for completeness. Auto-detects type from changed files. Called automatically at the end of `add-model`/`add-rule`, or standalone via `/review-implementation`.
11+
- [release](skills/release/SKILL.md) -- Create a new crate release. Determines version bump from diff, verifies tests/clippy, then runs `make release`.
1212

1313
## Commands
1414
```bash
@@ -37,11 +37,6 @@ make run-plan # Execute a plan with Claude autorun
3737
make release V=x.y.z # Tag and push a new release (CI publishes to crates.io)
3838
```
3939

40-
## Verify Changes
41-
```bash
42-
make test clippy # Must pass before PR
43-
```
44-
4540
## Git Safety
4641
- **NEVER force push** (`git push --force`, `git push -f`, `git push --force-with-lease`). This is an absolute rule with no exceptions. Force push can silently destroy other people's work and stashed changes.
4742

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Update `docs/paper/reductions.typ`:
114114
make test clippy # Must pass
115115
```
116116

117-
Then run the [review-implementation](review-implementation.md) skill to verify all structural and semantic checks pass.
117+
Then run the [review-implementation](../review-implementation/SKILL.md) skill to verify all structural and semantic checks pass.
118118

119119
## Naming Conventions
120120

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ cargo run --example export_graph # Update reduction_graph.json
155155
make test clippy # Must pass
156156
```
157157

158-
Then run the [review-implementation](review-implementation.md) skill to verify all structural and semantic checks pass.
158+
Then run the [review-implementation](../review-implementation/SKILL.md) skill to verify all structural and semantic checks pass.
159159

160160
## Solver Rules
161161

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ Present issue summary to user.
3838
### 3. Classify and Validate
3939

4040
Determine the issue type from its title/labels:
41-
- **`[Model]`** issues -> validate against the checklist in [add-model](add-model.md) Step 0
42-
- **`[Rule]`** issues -> validate against the checklist in [add-rule](add-rule.md) Step 0
41+
- **`[Model]`** issues -> validate against the checklist in [add-model](../add-model/SKILL.md) Step 0
42+
- **`[Rule]`** issues -> validate against the checklist in [add-rule](../add-rule/SKILL.md) Step 0
4343

4444
Check every item in the relevant checklist against the issue body. Verify facts provided by the user -- feel free to use `WebSearch` and `WebFetch` to cross-check claims.
4545

@@ -62,8 +62,8 @@ Write plan to `docs/plans/YYYY-MM-DD-<slug>.md` using `superpowers:writing-plans
6262

6363
The plan MUST reference the appropriate implementation skill and follow its steps:
6464

65-
- **For `[Model]` issues:** Follow [add-model](add-model.md) Steps 1-7 as the action pipeline
66-
- **For `[Rule]` issues:** Follow [add-rule](add-rule.md) Steps 1-6 as the action pipeline
65+
- **For `[Model]` issues:** Follow [add-model](../add-model/SKILL.md) Steps 1-7 as the action pipeline
66+
- **For `[Rule]` issues:** Follow [add-rule](../add-rule/SKILL.md) Steps 1-6 as the action pipeline
6767

6868
Include the concrete details from the issue (problem definition, reduction algorithm, example, etc.) mapped onto each step.
6969

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)