/structured-english:write-human-spec <domain or topic to specify>from structured-english
Generates a human-readable SESF v4.1 specification with formal BEHAVIOR/PROCEDURE/RULE/STEP blocks, rationale annotations, and tier selection based on requirements gathering.
Ships in structured-english. Installing the plugin adds it to Claude Code.
Generate a complete SESF v4.1 specification optimized for human readers and maintainers. The output uses formal BEHAVIOR/PROCEDURE/RULE/STEP blocks that provide visual scaffolding humans can scan, review, and modify. Includes rationale annotations explaining why rules exist.
The primary reader of this spec is a human — an engineer, product manager, or domain expert who needs to understand, review, or modify the spec. Optimize for:
Use the sesf skill — it contains all the rules, formats, and validation requirements for SESF v4.1. Read it fully before proceeding. Also read:
${CLAUDE_PLUGIN_ROOT}/skills/sesf/assets/reference.md${CLAUDE_PLUGIN_ROOT}/skills/sesf/assets/authoring-guide.md — this walks through the thinking processWalk the user through the thinking process from the authoring guide:
**BEHAVIOR** blocks)**PROCEDURE** blocks)Based on the requirements, select the appropriate tier:
Present the plan to the user before writing:
${CLAUDE_PLUGIN_ROOT}/skills/sesf/assets/template.md${CLAUDE_PLUGIN_ROOT}/skills/sesf/references/examples.md for the selected tier**BEHAVIOR** name: description blocks**RULE** name: with WHEN condition THEN action syntax inside behaviors**PROCEDURE** name: description blocks**STEP** name: description with optional → $variable for data flow## Errors table at the endPresent the finished specification to the user for review. Highlight design decisions (e.g., "I separated validation into its own BEHAVIOR block because those rules apply across multiple procedures").
Run the structural validator:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/sesf/scripts/validate_sesf.py <output-file>
Show the validation results to the user. If there are failures, present each proposed fix and ask the user to approve before applying.
Ask the user where to save the specification, or suggest a default based on the domain name (e.g., <domain>-spec.md). If the target file already exists, ask the user whether to overwrite it or save to a different path.
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub reggiechan74/cc-plugins --plugin structured-english8 commands in this plugin
/assess-human-docAssess Document for Human-Facing SESF ConversionAssess whether a document would benefit from human-readable SESF conversion/assess-inferred-intentAssess Inferred IntentReview a markdown specification for ambiguity, contradiction, and inferred intent/assess-LLM-docAssess Document for LLM-Facing HSF ConversionAssess whether a document would benefit from LLM-optimized HSF conversion/convert-human-to-llmConvert SESF → HSF (Human Spec → LLM Spec)Convert a human-facing SESF spec to LLM-facing HSF v6 format/update-human-specUpgrade a Specification to SESF v4.1Upgrade an older SESF specification to the current SESF v4.1 format/update-LLM-specUpgrade a Specification to LLM-Facing HSF v6Upgrade an existing specification to LLM-optimized HSF v6 formatOther plugins' commands for the same job