원클릭으로
create-skill
Create new OpenCode skills following the skill definition standard
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create new OpenCode skills following the skill definition standard
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | create-skill |
| description | Create new OpenCode skills following the skill definition standard |
| version | 2.0 |
| author | software-engineer |
| audience | software-engineer |
| workflow | opencode |
Create a new reusable skill for OpenCode agents, following research-backed best practices.
When you need to codify a repeatable workflow that multiple agents or sessions will follow. Skills are loaded on demand; they don't run automatically.
Before writing any skill, research the domain to ground the skill in industry standards and scientifically-backed evidence:
docs/research/ for related entries — each file covers a domain (testing, oop-design, architecture, ai-agents, etc.)Example research synthesis:
Research question: How to structure a security review skill?
Sources found: OWASP Testing Guide, NIST SP 800-53, Anthropic's agent design patterns
Conclusion: Security reviews should be adversarial (assume breakage), use defense-in-depth checklist, escalate on first critical finding.
→ Skill step: "3. Run adversarial checks — assume breach, verify every control"
mkdir .opencode/skills/<skill-name>/
Naming rules:
---
name: <skill-name>
description: <1-sentence description, 10-100 characters>
version: "1.0"
author: <agent-name>
audience: <agent-name | all-agents>
workflow: <workflow-category>
---
# <Skill Title>
<One paragraph explaining what this skill does and when to use it.>
## When to Use
<Specific trigger conditions>
## Step-by-Step
### 1. <First step>
<Instructions>
### 2. <Second step>
<Instructions>
## Checklist
- [ ] <Verification item>
Frontmatter requirements:
name: Max 64 chars, lowercase letters/numbers/hyphens onlydescription: 1 sentence, 10-100 chars, include key terms and triggersauthor/audience: Use role names from AGENTS.mdworkflow: Category like feature-lifecycle, opencode, release-managementFollow these research-backed patterns:
Structure:
Formatting rules:
Tone: Write in third person. The description is injected into the system prompt.
Skills are loaded into context. Long skills consume tokens. Target:
Cut:
.github/, not skills)The most effective skill development process involves using the skill in real tasks and iterating based on failures.
Add the skill name to the agent's "Available Skills" section so the agent knows to load it. Update AGENTS.md skills table.
| Skill | Used By | Purpose |
|---|---|---|
run-session | all agents | Session start/end protocol |
select-feature | product-owner | Score and select next backlog feature (WSJF) |
define-scope | product-owner | Step 1: define acceptance criteria |
implement | software-engineer | Step 3: TDD loop |
apply-patterns | software-engineer | Steps 2, 3: refactor when smell detected |
verify | system-architect | Step 4: adversarial verification |
check-quality | software-engineer | Quick reference — redirects to verify |
create-pr | system-architect | Step 5: create PR with --no-ff merge |
git-release | stakeholder | Step 5: calver versioning and release |
update-docs | system-architect | post-acceptance + on stakeholder demand: Context, Container sections, and glossary |
design-colors | designer | Color palette selection and WCAG validation |
design-assets | designer | SVG visual asset creation and updates |
create-skill | software-engineer | Create new skills |
create-agent | human-user | Create new agents with research-backed design |
Step 2 — Architecture and domain design, one feature at a time
Step 1 — discover requirements through stakeholder interviews and write Gherkin acceptance criteria
Generate and update architecture diagrams, living glossary, and system overview from existing project docs
Enforce code quality using ruff, pytest coverage, and static type checking
Create pull requests with conventional commits, proper formatting, and branch workflow
Flow protocol — design and operate state machine workflows with FLOW.md + WORK.md