Speckit Constitution Command Executor
This skill executes the official GitHub Speckit /speckit.constitution command.
Execution Protocol
When this skill is invoked, you MUST:
1. Load the Original Command File
Read and parse .opencode/commands/speckit.constitution.md from the current project directory.
2. Process OpenCode Command Syntax
The command file uses special syntax that MUST be processed before execution:
| Syntax | Action |
|---|---|
$ARGUMENTS | Replace with user-provided arguments after the command |
$1, $2, etc. | Replace with positional arguments |
@filepath | Read the file at filepath and insert its full contents |
!command`` | Execute the shell command and insert its stdout |
3. Execute the Processed Instructions
After syntax processing, follow all instructions in the command file exactly as written, including:
- •Running any
.specify/scripts/*.ps1or.specify/scripts/*.shscripts mentioned - •Reading/writing files as specified
- •Interacting with the user as directed
- •Producing all required outputs
4. Maintain Speckit Workflow Integrity
- •Honor the
handoffsdefined in the command's YAML frontmatter - •Suggest the next command in the workflow when complete
- •Preserve all Speckit conventions (file paths, naming, structure)
User Input
text
$ARGUMENTS
Fallback
If .opencode/commands/speckit.constitution.md does not exist, check for:
- •
.opencode/command/speckit.constitution.md(legacy path) - •
.specify/commands/speckit.constitution.md(alternative path)
If no command file is found, report an error and suggest running specify init first.