Skill Production Pipeline - claude-skills
Effective: 2026-03-07 | Applies to ALL new skills, improvements, and deployments. Owner: Leo (orchestrator) + Reza (final approval)
Skill Production Pipeline — claude-skills
Effective: 2026-03-07 | Applies to ALL new skills, improvements, and deployments. Owner: Leo (orchestrator) + Reza (final approval)
Mandatory Pipeline
Every skill MUST go through this pipeline. No exceptions.
Intent → Research → Draft → Eval → Iterate → Compliance → Package → Deploy → Verify → Rollback-ReadyTool: Anthropic Skill Creator (v2025-03+)
Location: ~/.openclaw/workspace/skills/skill-creator/ Components: SKILL.md, 3 agents (grader, comparator, analyzer), 10 scripts, eval-viewer, schemas
Dependencies
| Tool | Version | Install | Fallback |
|---|---|---|---|
| Tessl CLI | latest (auto-updates) | tessl login locally; TESSL_TOKEN API key in CI | Manual 8-point compliance check |
| ClawHub CLI | latest | npm i -g @openclaw/clawhub | Skip OpenClaw publish, do manually later |
| Claude Code | 2.1+ | Already installed | Required, no fallback |
| Python | 3.10+ | System | Required for scripts |
Iteration Limits
- Max 5 iterations per skill before escalation
- Max 3 hours per skill in eval loop
- If stuck → log issue, move to next skill, revisit in next batch
Phase 1: Intent & Research
- Capture intent — What should this skill enable? When should it trigger? Expected output format?
- Interview — Edge cases, input/output formats, success criteria, dependencies
- Research — Check competing skills, market gaps, related domain standards
- Define domain expertise level — Skills must be POWERFUL tier (expert-level, not generic)
Phase 2: Draft SKILL.md
Using Anthropic's skill-creator workflow:
Required Structure
skill-name/
├── SKILL.md # Core instructions (YAML frontmatter required)
│ ├── name: (kebab-case)
│ ├── description: (pushy triggers, when-to-use)
│ └── Body (<500 lines ideal)
├── scripts/ # Python CLI tools (no ML/LLM calls, stdlib only)
├── references/ # Expert knowledge bases (loaded on demand)
├── assets/ # Templates, sample data, expected outputs
├── agents/ # Sub-agent definitions (if applicable)
├── commands/ # Slash commands (if applicable)
└── evals/
└── evals.json # Test cases + assertionsSKILL.md Rules
- YAML frontmatter:
name+descriptionrequired - Description must be "pushy" — include trigger phrases, edge cases, competing contexts
- Under 500 lines; overflow → reference files with clear pointers
- Explain WHY, not just WHAT — theory of mind over rigid MUSTs
- Include examples with Input/Output patterns
- Define output format explicitly
Phase 3: Eval & Benchmark
3a. Create Test Cases
- 2-3 realistic test prompts (what real users would actually say)
- Save to
evals/evals.json(schema:references/schemas.md) - Include
filesfor file-dependent skills
3b. Run Evals
- Spawn with-skill AND baseline (without-skill) runs in parallel
- Save to
<skill>-workspace/iteration-N/eval-<ID>/ - Capture
timing.jsonfrom completion notifications - Grade using
agents/grader.md→grading.json
3c. Aggregate & Review
python -m scripts.aggregate_benchmark <workspace>/iteration-N --skill-name <name>
python <skill-creator>/eval-viewer/generate_review.py <workspace>/iteration-N \
--skill-name "<name>" --benchmark <workspace>/iteration-N/benchmark.json --static <output.html>- Analyst pass (agents/analyzer.md): non-discriminating assertions, variance, tradeoffs
- User reviews outputs + benchmark in viewer
- Read
feedback.json→ improve → repeat
3d. Quality Gate
- Pass rate ≥ 85% with-skill
- Delta vs baseline ≥ +30% on key assertions
- No flaky evals (variance < 20%)
Phase 4: Iterate Until Done
- Generalize from feedback (don't overfit to test cases)
- Keep prompt lean — remove what doesn't pull its weight
- Bundle repeated helper scripts into
scripts/ - Repeat eval loop until user satisfied + metrics pass
Phase 5: Description Optimization
After skill is finalized:
- Generate 20 trigger eval queries (10 should-trigger, 10 should-not)
- User reviews via
assets/eval_review.html - Run optimization loop:
``bash python -m scripts.run_loop \ --eval-set <trigger-eval.json> --skill-path <path> \ --model anthropic/claude-opus-5 --max-iterations 5 --verbose ``
- Apply
best_descriptionto SKILL.md frontmatter
Phase 6: Compliance Check (Claude Code)
Mandatory. Every skill inspected by Claude Code before merge:
echo "Review this skill for Anthropic compliance:
1. No malware, exploit code, or security risks
2. No hardcoded secrets or credentials
3. Description is accurate (no surprise behavior)
4. Scripts are stdlib-only (no undeclared dependencies)
5. YAML frontmatter valid (name + description)
6. File references all resolve correctly
7. Under 500 lines SKILL.md (or justified)
8. Assets include sample data + expected output" | claude --output-format textAdditionally run Tessl quality check:
tessl review run <skill-path> --workspace <workspace> # `tessl skill review` was removedMinimum score: 85%
Phase 7: Package for All Platforms
7a. Claude Code Plugin
skill-name/
├── .claude-plugin/
│ └── plugin.json # name, version, description, skills, commands, agents
├── SKILL.md
├── commands/ # /command-name.md definitions
├── agents/ # Agent definitions
└── (scripts, references, assets, evals)plugin.json format (STRICT):
{
"name": "skill-name",
"description": "One-line description",
"version": "1.0.0",
"author": "alirezarezvani",
"homepage": "https://github.com/alirezarezvani/claude-skills",
"repository": "https://github.com/alirezarezvani/claude-skills",
"license": "MIT",
"skills": ["./"]
}Only these fields. Nothing else.
7b. Codex CLI Version
skill-name/
├── AGENTS.md # Codex-compatible agent instructions
├── codex.md # Codex CLI skill format
└── (same scripts, references, assets)- Convert SKILL.md patterns to Codex-native format
- Test with
codex --full-auto "test prompt"
7c. OpenClaw Skill
skill-name/
├── SKILL.md # OpenClaw-compatible (same base)
├── openclaw.json # OpenClaw skill metadata (optional)
└── (same scripts, references, assets)- Ensure compatible with OpenClaw's skill loading (YAML frontmatter triggers)
- Publish to ClawHub:
clawhub publish ./skill-name
7d. Gemini CLI Skill
skill-name/
├── SKILL.md # Gemini-compatible (same base)
└── (same scripts, references, assets)- Ensure compatible with Gemini CLI's
activate_skilltool. - Run
./scripts/gemini-install.shto update the local.gemini/skills/index.
Phase 8: Deploy
Marketplace
# Claude Code marketplace (via plugin in repo)
# Users install with:
/plugin marketplace add alirezarezvani/claude-skills
/plugin install skill-name@claude-code-skillsGemini CLI setup
# Users setup with:
./scripts/gemini-install.shGitHub Release
- Feature branch from
dev→ PR todev→ merge → PR tomain - Conventional commits:
feat(category): add skill-name skill - Update category
plugin.jsonskill count + version - Update
marketplace.jsonif new plugin entry
ClawHub
clawhub publish ./category/skill-nameCodex CLI Registry
# Users install with:
npx agent-skills-cli add alirezarezvani/claude-skills --skill skill-nameAgent & Command Requirements
Every Skill SHOULD Have:
- Agent definition (
agents/cs-<role>.md) — persona, capabilities, workflows - Slash command (
commands/<action>.md) — simplified user entry point
Agent Format:
---
name: cs-<role-name>
description: <when to spawn this agent>
---
# cs-<role-name>
## Role & Expertise
## Core Workflows
## Tools & Scripts Available
## Output StandardsCommand Format:
---
name: <command-name>
description: <what this command does>
---
# /<command-name>
## Usage
## Arguments
## ExamplesPhase 9: Real-World Verification (NEVER SKIP)
Every skill must pass real-world testing before merge. No exceptions.
9a. Marketplace Installation Test
# 1. Register marketplace (if not already)
# In Claude Code:
/plugin marketplace add alirezarezvani/claude-skills
# 2. Install the skill
/plugin install <skill-name>@claude-code-skills
# 3. Verify installation
/plugin list # skill must appear
# 4. Load/reload test
/plugin reload # must load without errors9b. Trigger Test
- Send 3 realistic prompts that SHOULD trigger the skill
- Send 2 prompts that should NOT trigger it
- Verify correct trigger/no-trigger behavior
9c. Functional Test
- Execute the skill's primary workflow end-to-end
- Run each script with sample data
- Verify output format matches spec
- Check all file references resolve correctly
9d. Bug Fix Protocol
- Every bug found → fix immediately (no "known issues" parking)
- Document bug + fix in CHANGELOG.md
- Re-run full eval suite after fix
- Re-verify marketplace install after fix
9e. Cross-Platform Verify
- Claude Code: Install from marketplace, trigger, run workflow
- Gemini CLI: Run
scripts/gemini-install.sh, activate skill, verify instructions - Codex CLI: Load AGENTS.md, run test prompt
- OpenClaw: Load skill, verify frontmatter triggers
Documentation Requirements (Continuous)
All changes MUST update these files. Every commit, every merge.
Per-Commit Updates
| File | What to update |
|---|---|
CHANGELOG.md | Every change, every fix, every improvement |
Category README.md | Only when the catalog changes: skill list, descriptions, install commands |
Category CLAUDE.md | Only when the catalog changes: navigation, skill count, architecture notes |
Per-Skill Updates
| File | What to update |
|---|---|
SKILL.md | Frontmatter, body, references |
plugin.json | Version, description |
evals/evals.json | Test cases + assertions |
Per-Release Updates
| File | What to update |
|---|---|
Root README.md | Total skill count, category summary, install guide |
Root CLAUDE.md | Navigation map, architecture, skill counts |
agents/CLAUDE.md | Agent catalog |
marketplace.json | Plugin entries |
docs/ (GitHub Pages) | Run scripts/generate-docs.py |
STORE.md | Marketplace listing |
GitHub Pages
After every batch merge — generate docs and deploy:
cd ~/workspace/projects/claude-skills
# NOTE: generate-docs.py and static.yml workflow must be created first (Phase 0 task)
# If not yet available, manually update docs/ folder
python scripts/generate-docs.py 2>/dev/null || echo "generate-docs.py not yet created — update docs manually"Versioning
Semantic Versioning (STRICT)
| Change Type | Version Bump | Example |
|---|---|---|
| Existing skill improvement (Tessl optimization, trigger fixes, content trim) | 2.1.x (patch) | 2.1.0 → 2.1.1 |
| Enhancement + new skills (new scripts, agents, commands, new skills) | 2.7.0 (minor) | 2.6.x → 2.7.0 |
| Breaking changes (restructure, removed skills, API changes) | 3.0.0 (major) | 2.x → 3.0.0 |
Version history (current version: see CHANGELOG.md, 2.14.5)
- v2.1.1 — Existing skill improvements (Tessl #285-#287, compliance fixes)
- v2.7.0 — New skills + agents + commands + multi-platform packaging
Rollback Protocol
If a deployed skill breaks:
- Immediate:
git revert <commit>on dev, fast-merge to main - Marketplace: Users re-install from updated main (auto-resolves)
- ClawHub:
clawhub unpublish <skill-name>@<broken-version>if published - Notification: Update CHANGELOG.md with
### Revertedsection - Post-mortem: Document what broke and why in the skill's evals/
CHANGELOG.md Format
## [2.7.0] - YYYY-MM-DD
### Added
- New skill: `category/skill-name` — description
- Agent: `cs-role-name` — capabilities
- Command: `/command-name` — usage
### Changed
- `category/skill-name` — what changed (Tessl: X% → Y%)
### Fixed
- Bug description — root cause — fix applied
### Verified
- Marketplace install: ✅ all skills loadable
- Trigger tests: ✅ X/Y correct triggers
- Cross-platform: ✅ Claude Code / Codex / OpenClawQuality Tiers
| Tier | Score | Criteria |
|---|---|---|
| POWERFUL ⭐ | 85%+ | Expert-level, scripts, refs, evals pass, real-world utility |
| SOLID | 70-84% | Good knowledge, some automation, useful |
| GENERIC | 55-69% | Too general, needs domain depth |
| WEAK | <55% | Reject or complete rewrite |
We only ship POWERFUL. Everything else goes back to iteration.
This pipeline is non-negotiable for all claude-skills repo work.
Checklist (copy per skill)
Required (blocks merge)
[ ] SKILL.md drafted (<500 lines, YAML frontmatter, pushy description)
[ ] Scripts: Python CLI tools (stdlib only) — or justified exception
[ ] References: expert knowledge bases
[ ] Evals: evals.json with 2-3+ test cases + assertions (must fail without skill)
[ ] Tessl: score ≥85% (or manual 8-point check if tessl unavailable)
[ ] Claude Code compliance: 8-point check passed
[ ] Plugin: plugin.json (strict format)
[ ] Marketplace install: /plugin install works, /plugin reload no errors
[ ] Trigger test: 3 should-trigger + 2 should-not
[ ] Functional test: end-to-end workflow verified
[ ] Bug fixes: all resolved, re-tested
[ ] CHANGELOG.md updated
[ ] PR created: dev branch, conventional commitRecommended (nice-to-have, don't block)
[ ] Agent: cs-<role>.md defined
[ ] Command: /<action>.md defined
[ ] Assets: templates, sample data, expected outputs
[ ] Benchmark: with-skill vs baseline, pass rate ≥85%, delta ≥30%
[ ] Description optimization: run_loop.py, 20 trigger queries
[ ] Gemini CLI: ./scripts/gemini-install.sh, activate_skill(name="skill-name") verified
[ ] Codex: AGENTS.md / codex.md
[ ] OpenClaw: frontmatter triggers verified
[ ] README.md updated (category + root)
[ ] CLAUDE.md updated
[ ] docs/ regeneratedSource: https://github.com/alirezarezvani/claude-skills/blob/main/SKILL_PIPELINE.md
Author: alirezarezvani, Alireza Rezvani skills and agents. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The Codex library holds 7,009 entries. Members can search all of them by meaning and read every one in full.