claude-dev-env 1.50.3 → 1.51.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/CLAUDE.md +0 -8
- package/_shared/pr-loop/audit-contract.md +3 -3
- package/_shared/pr-loop/scripts/pr_loop_shared_constants/preflight_self_heal_constants.py +28 -0
- package/_shared/pr-loop/scripts/preflight.py +18 -6
- package/_shared/pr-loop/scripts/preflight_self_heal.py +164 -0
- package/_shared/pr-loop/scripts/tests/test_preflight.py +39 -0
- package/_shared/pr-loop/scripts/tests/test_preflight_self_heal.py +273 -0
- package/agents/clean-coder.md +1 -1
- package/agents/code-quality-agent.md +7 -5
- package/audit-rubrics/category_rubrics/category-a-api-contracts.md +3 -0
- package/audit-rubrics/category_rubrics/category-f-silent-failures.md +3 -0
- package/audit-rubrics/category_rubrics/category-k-codebase-conflicts.md +8 -2
- package/audit-rubrics/category_rubrics/category-n-test-name-scenario-verifier.md +3 -0
- package/audit-rubrics/category_rubrics/category-o-docstring-vs-impl-drift.md +39 -0
- package/audit-rubrics/category_rubrics/category-p-name-vs-behavior-contract.md +40 -0
- package/audit-rubrics/prompts/category-a-api-contracts.md +11 -4
- package/audit-rubrics/prompts/category-b-selector-engine-compat.md +2 -2
- package/audit-rubrics/prompts/category-c-resource-cleanup.md +1 -1
- package/audit-rubrics/prompts/category-d-scoping-and-ordering.md +1 -1
- package/audit-rubrics/prompts/category-e-dead-code.md +1 -1
- package/audit-rubrics/prompts/category-f-silent-failures.md +13 -2
- package/audit-rubrics/prompts/category-g-bounds-and-overflow.md +1 -1
- package/audit-rubrics/prompts/category-h-security-boundaries.md +1 -1
- package/audit-rubrics/prompts/category-i-concurrency.md +1 -1
- package/audit-rubrics/prompts/category-j-code-rules-compliance.md +1 -1
- package/audit-rubrics/prompts/category-k-codebase-conflicts.md +15 -5
- package/audit-rubrics/prompts/category-l-behavior-equivalence.md +1 -1
- package/audit-rubrics/prompts/category-m-producer-consumer-cardinality.md +1 -1
- package/audit-rubrics/prompts/category-n-test-name-scenario-verifier.md +10 -3
- package/audit-rubrics/prompts/category-o-docstring-vs-impl-drift.md +74 -0
- package/audit-rubrics/prompts/category-p-name-vs-behavior-contract.md +75 -0
- package/docs/CODE_RULES.md +24 -346
- package/package.json +1 -1
- package/rules/ask-user-question-required.md +2 -41
- package/rules/confirm-implementation-forks.md +3 -44
- package/rules/gh-body-file.md +2 -78
- package/rules/gh-paginate.md +2 -78
- package/rules/plain-language.md +2 -41
- package/rules/prompt-workflow-context-controls.md +9 -38
- package/rules/shell-invocation-policy.md +2 -141
- package/rules/testing.md +10 -0
- package/rules/vault-context.md +3 -32
- package/rules/windows-filesystem-safe.md +3 -87
- package/scripts/sync_to_cursor/rules.py +201 -79
- package/scripts/tests/test_sync_to_cursor.py +122 -26
- package/skills/_shared/pr-loop/scripts/skills_pr_loop_constants/path_resolver_constants.py +2 -0
- package/skills/_shared/pr-loop/scripts/test_build_audit_prompt.py +51 -4
- package/skills/auditing-claude-config/SKILL.md +6 -1
- package/skills/bugteam/CONSTRAINTS.md +1 -1
- package/skills/bugteam/PROMPTS.md +8 -6
- package/skills/bugteam/SKILL.md +5 -5
- package/skills/bugteam/reference/audit-and-teammates.md +1 -1
- package/skills/bugteam/reference/audit-contract.md +4 -4
- package/skills/bugteam/reference/design-rationale.md +1 -1
- package/skills/bugteam/reference/obstacles/audit-walk-categories.md +1 -1
- package/skills/bugteam/reference/team-setup.md +17 -5
- package/skills/bugteam/scripts/bugteam_preflight.py +22 -10
- package/skills/bugteam/scripts/test_bugteam_preflight.py +32 -0
- package/skills/copilot-review/SKILL.md +5 -8
- package/skills/doc-gist/SKILL.md +5 -8
- package/skills/fixbugs/SKILL.md +1 -1
- package/skills/gh-paginate/SKILL.md +84 -0
- package/skills/pr-converge/SKILL.md +28 -1
- package/skills/pr-converge/reference/per-tick.md +24 -8
- package/skills/pre-compact/SKILL.md +4 -9
- package/skills/refine/SKILL.md +8 -2
- package/skills/structure-prompt/SKILL.md +5 -10
package/skills/refine/SKILL.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: refine
|
|
3
|
-
description:
|
|
3
|
+
description: >-
|
|
4
|
+
Interview-driven plan refiner with built-in audit loop: fans out research agents,
|
|
5
|
+
interviews via AskUserQuestion (mandatory — survives no-question directives), writes
|
|
6
|
+
the plan to the Obsidian vault under Research/<topic>/<slug>.md, then loops audit and
|
|
7
|
+
fix until clean. Triggers: /refine, "refine this", "turn this into a plan", "flesh
|
|
8
|
+
this out", "make a spec for this", "let's plan this out", or any vague idea to mature
|
|
9
|
+
into a plan.
|
|
4
10
|
---
|
|
5
11
|
|
|
6
12
|
# refine
|
|
@@ -164,7 +170,7 @@ Spawn `general-purpose` (`subagent_type: general-purpose`, foreground) with:
|
|
|
164
170
|
- **Ambiguity** — no parked open questions where a decision is required for implementation to begin
|
|
165
171
|
- **Implementer-readiness** — a downstream implementer can act on each step without back-and-forth (file paths named, agents named, change concrete)
|
|
166
172
|
- A required return shape: structured findings as `severity (P0/P1/P2) | location | violation`, plus an explicit `CLEAN` verdict when no findings remain
|
|
167
|
-
- An explicit instruction NOT to apply code-review rubrics (CODE_RULES categories A–
|
|
173
|
+
- An explicit instruction NOT to apply code-review rubrics (CODE_RULES categories A–P, API contracts, resource cleanup, etc.) — the audit target is a markdown plan, not source code
|
|
168
174
|
|
|
169
175
|
If the verdict is `CLEAN`: skip step 8 and proceed to step 10.
|
|
170
176
|
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: structure-prompt
|
|
3
3
|
description: >-
|
|
4
|
-
Restructure
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
sub-bucket with ⭐, and sharpen generic adversarial-pass phrasing into a
|
|
10
|
-
category-specific failure-mode noun. Trigger when the user invokes
|
|
11
|
-
/structure-prompt, pastes a prompt and asks to optimize it, asks for a
|
|
12
|
-
"minimally invasive edit" to a prompt artifact, or asks to "tighten this
|
|
13
|
-
prompt."
|
|
4
|
+
Restructure a user-provided prompt: order blocks, replace persona framing with task
|
|
5
|
+
constraints, enforce per-category dispositions, expand placeholder tokens via the
|
|
6
|
+
sibling rubric or AskUserQuestion, add file:line citations, mark the canonical
|
|
7
|
+
sub-bucket, sharpen adversarial-pass phrasing. Triggers: /structure-prompt, "optimize
|
|
8
|
+
this prompt", "minimally invasive edit" to a prompt artifact, "tighten this prompt".
|
|
14
9
|
---
|
|
15
10
|
|
|
16
11
|
# structure-prompt
|