Help us improve
Share bugs, ideas, or general feedback.
From shapelang
Use when Codex needs to plan a code or model change against an existing Shape model before editing, including locating relevant Shape symbols, reading `shp explain`/`shp graph`/`shp memory` context, surfacing constraints, guards, effects, ownership, coverage, bindings, and optionally drafting a temporary `change` block for `shp check` precheck diagnostics.
npx claudepluginhub timbrinded/shapelang --plugin shapelangHow this skill is triggered — by the user, by Claude, or both
Slash command
/shapelang:shape-contract-preflightThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use Shape to orient implementation work before code changes begin. This skill is for coding agents, not human onboarding.
Measures whether skills, rules, and agent definitions are actually followed by auto-generating test scenarios at 3 strictness levels and reporting compliance rates with full tool call timelines.
Share bugs, ideas, or general feedback.
Use Shape to orient implementation work before code changes begin. This skill is for coding agents, not human onboarding.
Preflight does not prove implementation correctness. It summarizes the reviewed Shape model, points to source/evidence refs to inspect, and uses temporary change blocks only when the planned architecture change is concrete enough.
orientation: identify relevant symbols, constraints, source refs, model gaps, and likely obligations. Do not draft a change block.precheck: draft a temporary change block and run shp check against the current model plus that temporary file.Stay in orientation when the user intent is vague or when expressing the plan would require inventing resources, effects, or relations.
Identify candidate symbols.
.shape files for task vocabulary.source, evidence, implementation paths, binding paths, or generated anchors.Query model context.
shp explain <Symbol> for candidate symbols.shp graph show <Symbol> for relation context.shp graph stats when the work is relation-heavy.shp memory and shp obligations when guarded targets, memory, rationale, or reevaluations are relevant.Inspect source selectively.
source, evidence, implementation declarations, bindings, or generated anchors.generated_from relations only as syntax-navigation hints.Decide whether precheck is possible.
orientation when the task is exploratory.precheck when the intended architecture change can be expressed as add, modify, or remove declarations.Draft the temporary change block in precheck mode.
references/change-blocks.md before drafting.effects unknown until source evidence makes material effects explicit.effects complete only when the intended material effects are known.Run the precheck.
.shape file.shp check against the current model plus the temporary file.scripts/precheck.sh --init to create a temporary file template, or scripts/precheck.sh <change-file> to run the check when the local environment supports Bash.SHAPE_CMD when the repository wraps the CLI, for example SHAPE_CMD="bun shp" scripts/precheck.sh <change-file>.Return the planning brief.
## Preflight Mode
orientation | precheck
## Relevant Shape Context
- Symbols: ...
- Constraints: ...
- Relations: ...
- Guards/memory: ...
- Coverage/bindings: ...
## Source To Inspect First
- ...
## Temporary Plan Check
<Only in precheck mode: proposed change block, command run, diagnostics, and required revisions.>
## Decision
Proceed | revise model plan | ask user for missing intent
For thin coverage, say directly:
The current Shape model does not locate this work. I will fall back to normal repo inspection; a Shape update is only required if the code change touches governed source or changes architecture claims.
references/change-blocks.md: conservative rules and helper commands for temporary precheck files.references/examples.md: common task prompts and expected Preflight behavior.