xiaohongshu
xiaohongshu
create-agent-sop
Create agent-ready Standard Operating Procedure (SOP) skills that autonomous agents can execute deterministically. Use when creating workflow skills, procedural skills, or any skill that needs to be unambiguous, idempotent, robust, and observable. Triggers on "create SOP", "new workflow skill", "...
Full skill instructions
Meta-skill for generating SOP skills that autonomous agents can execute without human intervention.
Ask user for:
feature-development-loop)pnpm exec tsx .claude/skills/create-agent-sop/scripts/init_sop_skill.ts <name> --path .claude/skills
Follow the template in references/sop-template.md. Key sections:
---
name: <skill-name>
description: <what + when to use>
---
# <Skill Name>
## Prerequisites
[Tools, permissions, state requirements]
## Input Schema
[Typed parameters with defaults]
## Procedure
[Numbered steps with @command tags]
## Success Criteria
[Verification checks]
## Error Recovery
[Fallback paths]
Before adding scripts, evaluate if the functionality should be a CLI tool instead:
| Consider CLI Tool When | Use Script When |
|---|---|
| Multiple clients could use it | Skill-specific logic only |
| Reusable across skills | Simple validation/checks |
| Complex logic worth maintaining | Glue code between tools |
| Would simplify the script significantly | One-off operations |
CLI tools go in packages/cli/ and are invoked via sp or tool-specific commands.
Skills can then call these tools, keeping scripts minimal.
Scripts go in scripts/ for skill-specific operations:
scripts/validate.sh # Prerequisite checks
scripts/check-state.ts # Skill-specific state validation
Run the validation script to check against the 10 SOP characteristics:
pnpm exec tsx .claude/skills/create-agent-sop/scripts/validate_sop_skill.ts <skill-path>
Output shows pass/fail for each characteristic. See references/sop-characteristics.md for details.
Create a distributable .skill file:
pnpm exec tsx .claude/skills/create-agent-sop/scripts/package_sop_skill.ts <skill-path> [output-dir]
Validates first, then creates <skill-name>.skill (zip format).
references/sop-characteristics.md - The 10 characteristics explainedreferences/sop-template.md - SKILL.md template for SOPsxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience