spec-creator
Spec Authoring
Purpose
Produce detailed, engineering-grade specifications similar in depth and structure to a full platform spec. The output must be explicit, testable, and implementation-ready without needing back-and-forth clarification.
Core Principles
- State intent clearly and early.
- Define scope and non-scope to avoid ambiguity.
- Make every requirement verifiable.
- Prefer concrete examples over vague descriptions.
- Use consistent naming and types across the document.
- Include failure modes and edge cases.
- Avoid assumptions; write them down.
- Define canonical data models in a single spec and reference them elsewhere to prevent duplication.
Required Structure
See the SPEC_TEMPLATE.md for a template with detailed section descriptions and writing guidelines.
Follow this structure exactly, but customize content to the project.
Writing Rules
- Use precise, plain english language.
- Prefer tables for enums, options, or matrices.
- Include code blocks with correct syntax highlighting.
- Keep naming consistent across entities, APIs, and SDKs.
- If a behavior depends on policy, state it explicitly.
- If a data model is shared across domains, treat one spec as the source of truth and reference it rather than re-defining it.
Output Quality Checklist
Before finalizing, confirm:
- Scope is explicit and non-goals are listed.
- All core entities and relationships are defined.
- Every endpoint has auth and payloads.
- All critical workflows are described step-by-step.
- Security and permissions are not implicit.
- At least one example is given for each major section.
Related docs
When the new spec is complete, update specs/README.md to include it in the list of available specs.
More from iyaki/opencode-base-template
shell-command
Execute shell commands with strict adherence to non-interactive flags and environment variables to prevent hanging in OpenCode's headless environment.
18code-search
Use when you need to locate definitions of classes, functions, constants, types, or symbols in the application code. Before searching individual files, run Repomix with stdout output to capture a snapshot and base the search on that content.
11dev-browser
Browser automation. This skill enables agents to research, test web UIs, and interact with web applications using a headless browser.
6reddit
Search and retrieve content from Reddit. Get posts, comments, subreddit info, and user profiles via the public JSON API. Use when user mentions Reddit, a subreddit, or r/ links.
2frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
2skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
2