typescript-utility-types
Use when typeScript utility types, mapped types, and advanced type manipulation. Use when creating flexible, type-safe TypeScript code.
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.
Full skill instructions
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.
Use SOPs when you need consistent, repeatable execution of multi-step processes.
DO:
DON'T:
# {Action Verb} {Outcome} SOP
## Overview
{1-2 sentences describing what this SOP accomplishes and when to use it}
Good Titles:
Poor Titles:
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
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
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
# 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
# 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 confirm it passes
3. Refactor (REFACTOR)
- Improve code structure
- Extract common patterns
- Run tests to ensure they still pass
4. Repeat for each requirement
- Break feature into small increments
- Follow red-green-refactor for each
- Commit after each complete cycle
## Success Criteria
- [ ] All tests pass
- [ ] Test coverage ≥ 80%
- [ ] No code duplication
- [ ] Feature meets requirements
# Generate Comprehensive Codebase Documentation
## Overview
Analyze codebase and generate comprehensive documentation including architecture overview, API reference, and setup instructions.
## Parameters
- **Repository Path**: {repository_path}
- **Documentation Format**: {format} (markdown, html, pdf)
- **Include Examples**: {include_examples} (yes, no)
## Steps
1. Analyze repository structure
- Identify programming languages
- Map directory organization
- Locate configuration files
- Find existing documentation
2. Extract architectural information
- Identify main entry points
- Document data flow
- Map component dependencies
- Note design patterns
3. Document public APIs
- List all public functions/methods
- Extract parameter types
- Document return values
- Include usage examples if {include_examples} is yes
4. Generate setup instructions
- List prerequisites
- Document installation steps
- Provide configuration examples
- Include troubleshooting section
5. Create documentation files
- Generate README.md with overview
- Create API.md with interface documentation
- Add CONTRIBUTING.md if project accepts contributions
- Format output as {format}
## Success Criteria
- [ ] Documentation covers all public APIs
- [ ] Setup instructions are complete
- [ ] Architecture is clearly explained
- [ ] Examples are tested and accurate
## Error Handling
If any step fails:
1. Document the failure reason
2. Provide troubleshooting steps
3. Suggest alternative approaches
4. Do NOT proceed to next step
## Validation
After each major step:
- Verify output meets quality criteria
- Check for errors or warnings
- Confirm results match expectations
## Process
For each {item} in {collection}:
1. Perform action on {item}
2. Validate result
3. Continue to next {item}
Avoid These Common Mistakes:
Overly General Instructions
Missing Context
npm test and verify all tests pass"Ambiguous Success Criteria
Hidden Assumptions
Mixing Multiple Workflows
Use when typeScript utility types, mapped types, and advanced type manipulation. Use when creating flexible, type-safe TypeScript code.
Use when writing shell scripts that need to run across different systems, shells, or environments. Covers POSIX compatibility and platform differences.
Use when optimizing Tailwind CSS for production, reducing bundle size, and improving performance. Covers PurgeCSS, JIT mode, and build optimization.
Generate production-ready code from a Figma component or frame using the Figma MCP server
Use when integrating Dialyzer into development workflows and CI/CD pipelines for Erlang/Elixir projects.
Use when ruboCop configuration including YAML config, departments, inheritance, and customization.
Use when Elixir OTP patterns including GenServer, Supervisor, Agent, and Task. Use when building concurrent, fault-tolerant Elixir applications.
Use when creating custom Ameba rules for Crystal code analysis including rule development, AST traversal, issue reporting, and rule testing.
Use when swift's optional handling patterns including optional binding, chaining, nil coalescing, and modern approaches to safely working with optional values while avoiding common pitfalls and force unwrapping.
Use when annotating code with structured metadata, tags, and markers for AI-assisted development workflows. Covers annotation formats, semantic tags, and integration with development tools.
Use when scala collections including immutable/mutable variants, List, Vector, Set, Map operations, collection transformations, lazy evaluation with views, parallel collections, and custom collection builders for efficient data processing.
Use when creating custom React Flow nodes, edges, and handles. Covers custom node components, resizable nodes, toolbars, and advanced customization.
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