sop-authoring
БесплатноБез исполняемых скриптовНе проверенUse when writing or creating new Standard Operating Procedures (SOPs) for AI agents. Covers effective SOP writing, clarity principles, and actionable…
от TheBushidoCollective★ 202 звезды на GitHubОб этом скилле
SOP Authoring
Effective Standard Operating Procedures (SOPs) transform complex workflows into reusable, deterministic instructions for AI agents. This skill covers the principles and practices for writing clear, actionable SOPs.
Key Concepts
What Makes a Good SOP
- Single Responsibility: Each SOP addresses one specific workflow or task
- Deterministic: Same inputs produce same outputs
- Actionable: Every step is concrete and executable
- Parameterized: Variables enable reuse across contexts
- Self-Contained: Minimal external dependencies
SOP vs. General Documentation
- SOPs: Prescriptive workflows with specific steps
- Documentation: Descriptive reference material
- Guides: Educational content with explanations
- Tutorials: Step-by-step learning experiences
Use SOPs when you need consistent, repeatable execution of multi-step processes.
Best Practices
Writing Clear Instructions
DO:
- Use active voice and imperative mood
- Start steps with action verbs (analyze, generate, validate)
- Be specific about expected outcomes
- Include success criteria for each step
- Use numbered lists for sequential steps
- Use bullet points for unordered items
DON'T:
- Use passive voice ("should be done" → "do this")
- Include vague instructions ("improve the code")
- Mix procedural and reference content
- Assume implicit knowledge without stating it
Title and Description
# {Action Verb} {Outcome} SOP
## Overview
{1-2 sentences describing what this SOP accomplishes and when to use it}
Good Titles:
- "Generate Codebase Documentation"
- "Implement Feature Using TDD"
- "Review Pull Request for Security"
Poor Titles:
- "Documentation" (too vague)
- "How to Maybe Improve Code Quality" (uncertain)
- "The Complete Guide to Everything" (too broad)
Structuring Steps
Sequential Steps:
## Steps
1. Analyze the codebase structure
- Identify main entry points
- Map directory organization
- Document key dependencies
2. Extract architectural patterns
- Identify design patterns in use
- Document data flow
- Note component relationships
3. Generate documentation
- Create README.md with overview
- Document API interfaces
- Add setup instructions
Conditional Logic:
## Steps
1. Check if tests exist
- If tests exist: Run existing test suite
- If no tests: Create test structure first
2. Implement feature based on test results
- If tests pass: Add new functionality
- If tests fail: Fix failing tests before proceeding
Parameters
Define parameters that make SOPs reusable:
## Parameters
- **Repository Path**: {repository_path}
- **Output Format**: {output_format} (markdown, json, html)
- **Verbosity Level**: {verbosity} (concise, detailed, comprehensive)
Usage in Steps:
1. Navigate to {repository_path}
2. Generate documentation in {output_format} format
3. Use {verbosity} level of detail
Success Criteria
Include explicit success criteria:
## Success Criteria
- [ ] All source files are documented
- [ ] README.md exists with setup instructions
- [ ] API documentation is complete
- [ ] Examples are tested and working
Examples
Example 1: Code Review SOP
# Review Code Changes for Quality
## Overview
Systematically review code changes for quality, maintainability, and adherence to project standards.
## Parameters
- **Pull Request URL**: {pr_url}
- **Review Depth**: {depth} (quick, standard, thorough)
## Steps
1. Fetch pull request details from {pr_url}
- Read PR description and context
- Identify changed files
- Note breaking changes
2. Review code quality
- Check for code smells
- Verify error handling
- Assess test coverage
- Validate documentation updates
3. Check architectural consistency
- Ensure patterns match existing code
- Verify separation of concerns
- Review dependency additions
4. Generate review feedback
- List issues by severity (critical, major, minor)
- Suggest specific improvements
- Highlight positive changes
## Success Criteria
- [ ] All critical issues identified
- [ ] Feedback is specific and actionable
- [ ] Code style checked against project standards
- [ ] Security implications reviewed
Example 2: Feature Implementation SOP
# Implement Feature Using Test-Driven Development
## Overview
Implement new feature following TDD red-green-refactor cycle with comprehensive test coverage.
## Parameters
- **Feature Description**: {feature_description}
- **Test Framework**: {test_framework}
## Steps
1. Create failing test (RED)
- Write test that describes desired behavior
- Run test to confirm it fails
- Verify failure message is correct
2. Implement minimal code (GREEN)
- Write simplest code to pass the test
- Avoid premature optimization
- Run test to confir
Установить sop-authoring в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashGrepGlobFAQ
Что делает скилл sop-authoring?
Use when writing or creating new Standard Operating Procedures (SOPs) for AI agents. Covers effective SOP writing, clarity principles, and actionable instruction design.
Как установить скилл sop-authoring?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sop-authoring запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic