Agent Skill
2/7/2026speckitconstitution
Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync. Use when starting a new Speckit project or updating project principles.
L
lofidonut3
1GitHub Stars
1Views
npx skills add lofidonut3/oh-my-speckit
SKILL.md
| Name | speckitconstitution |
| Description | Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync. Use when starting a new Speckit project or updating project principles. |
name: speckit.constitution description: Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync. Use when starting a new Speckit project or updating project principles.
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
$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.
Skills Info
Original Name:speckitconstitutionAuthor:lofidonut3
Download