Files
zooqueen 62bbc7766c skills: give each skill the directory its name declares
Every SKILL.md already declared the new name — name: frames, frames-cli,
frames-core, and so on — but the directories were never moved, so the tree
carried frames-* in content and hyperframes-* on disk. Everything that
resolves a skill by path missed: the core-skill list, the plugin marketplace
pin, and the docs the CLI reads at runtime. Eight tests failed on main because
the files they open do not exist.

The directories now match what the files say they are, and the guide the
claude-design contract reads takes the name that contract already used.
2026-08-13 18:17:24 -07:00

86 lines
2.7 KiB
JSON

{
"tier": 4,
"name": "escape-hatch",
"description": "Lint-only fixture set. Each case demonstrates a Remotion pattern the skill cannot or should not translate cleanly. The skill is graded on whether lint_source.py emits the right finding for each case — there are no renders to compare. T4 passes when every case triggers its expected rule and no others.",
"cases": [
{
"file": "01-use-state.tsx",
"expected": {
"blockers": [{ "rule": "r2hf/use-state", "min_count": 1 }],
"warnings": [],
"skill_action": "refuse_translation_recommend_interop"
}
},
{
"file": "02-use-effect-deps.tsx",
"expected": {
"blockers": [{ "rule": "r2hf/use-effect-deps", "min_count": 1 }],
"warnings": [],
"skill_action": "refuse_translation_recommend_interop"
}
},
{
"file": "03-async-metadata.tsx",
"expected": {
"blockers": [{ "rule": "r2hf/async-metadata", "min_count": 1 }],
"warnings": [],
"skill_action": "refuse_translation_recommend_interop"
}
},
{
"file": "04-third-party-react.tsx",
"expected": {
"blockers": [{ "rule": "r2hf/third-party-react-ui", "min_count": 1 }],
"warnings": [],
"skill_action": "refuse_translation_recommend_interop"
}
},
{
"file": "05-lambda-config.tsx",
"expected": {
"blockers": [],
"warnings": [{ "rule": "r2hf/lambda-import", "min_count": 1 }],
"skill_action": "drop_lambda_code_translate_remainder_if_clean"
}
},
{
"file": "06-warnings-only.tsx",
"expected": {
"blockers": [],
"warnings": [
{ "rule": "r2hf/delay-render", "min_count": 1 },
{ "rule": "r2hf/use-callback", "min_count": 1 },
{ "rule": "r2hf/use-memo", "min_count": 1 }
],
"skill_action": "translate_after_dropping_wrappers"
}
},
{
"file": "07-custom-hook.tsx",
"expected": {
"blockers": [],
"warnings": [{ "rule": "r2hf/custom-hook", "min_count": 1 }],
"skill_action": "inline_hook_body_if_pure"
}
},
{
"file": "08-mixed.tsx",
"expected": {
"blockers": [
{ "rule": "r2hf/use-state", "min_count": 1 },
{ "rule": "r2hf/use-effect-deps", "min_count": 1 },
{ "rule": "r2hf/third-party-react-ui", "min_count": 1 }
],
"warnings": [{ "rule": "r2hf/use-callback", "min_count": 1 }],
"skill_action": "refuse_translation_recommend_interop"
}
}
],
"totals": {
"expected_blocker_cases": 5,
"expected_warning_only_cases": 3,
"expected_total_blocker_findings_min": 7,
"expected_total_warning_findings_min": 6
}
}