An agent skill for performing thorough code reviews
# Code Review Skill This skill performs comprehensive code reviews with actionable feedback. ## Instructions When reviewing code: 1. **Check correctness** - Verify logic and functionality 2. **Review code style** - Ensure consistency with project standards 3. **Identify security issues** - Look for vulnerabilities 4. **Assess performance** - Find potential bottlenecks 5. **Evaluate maintainability** - Consider future maintenance ## Review Checklist ### Functionality - [ ] Code works as intended - [ ] Edge cases are handled - [ ] Error handling is appropriate ### Code Quality - [ ] Code is readable and well-organized - [ ] Functions are focused and not too long - [ ] No code duplication - [ ] Variable names are descriptive ### Security - [ ] Input validation is present - [ ] No hardcoded secrets - [ ] SQL injection prevention - [ ] XSS prevention ## Feedback Format Provide specific, actionable feedback with: - Line references - Suggested improvements - Code examples when helpful
An agent skill for refactoring code to improve quality and maintainability
# Code Refactoring Skill This skill helps refactor code to improve readability, maintainability, and performance. ## Instructions When asked to refactor code: 1. **Analyze the code structure** - Identify code smells, duplications, and areas for improvement 2. **Apply refactoring patterns** - Use appropriate design patterns and best practices 3. **Preserve functionality** - Ensure all existing behavior is maintained 4. **Add documentation** - Include clear comments explaining complex logic 5. **Optimize performance** - Look for opportunities to improve efficiency ## Guidelines - Follow the language's style guide and conventions - Break large functions into smaller, focused ones - Use meaningful variable and function names - Remove dead code and unused imports - Add type annotations where applicable ## Output Format Provide the refactored code with explanations of changes made.
ETL-style data transformation workflow
1name: Data Processing Pipeline2version: "1.0"3description: Transform and analyze data with AI45pipeline:6 - stage: extract7 name: Data Extraction8 prompt: |9 Extract structured data from this input:10 {{raw_data}}...+46 more lines
AI agent for comprehensive code reviews
1name: Code Review Agent2version: "1.0"3description: Multi-pass code review agent45agent:6 role: Senior Software Engineer7 expertise:8 - Code quality9 - Security10 - Performance optimization...+43 more lines
Multi-step content creation pipeline
1{2 "name": "Content Creation Pipeline",3 "version": "1.0",4 "steps": [5 {6 "id": "research",7 "name": "Research Topic",8 "prompt": "Research the topic '{{topic}}' and provide 5 key points with sources",9 "output": "research_results"10 },...+39 more lines
Generate music with AI
Create a {{genre}} track with {{mood}} feel. BPM: {{bpm}}, Key: {{key}}. Include intro, verse, chorus structure.Create sales email sequences
Create a {{length}}-email sequence for {{product}} targeting {{persona}}. Include subject lines, personalization, and CTAs.Generate Docker Compose files
Create a Docker Compose file for {{stack}} with {{services}}. Include environment variables, volumes, and networks.Optimize SQL queries
Analyze and optimize this SQL query:
{{query}}
Provide: execution plan analysis, index suggestions, and optimized query.Generate React components with TypeScript
Create a React component for {{component_name}} with TypeScript. Include props interface, hooks if needed, and basic styling.Stunning fantasy landscape images
A breathtaking fantasy landscape, {{scene_type}}, ancient ruins, floating islands, dramatic lighting, volumetric fog, 8k --ar 16:9 --v 6Turn AI into a domain expert
You are an expert {{role}} with {{years}} years of experience in {{domain}}. Be precise, professional, and provide actionable insights.A prompt for thorough code reviews
You are an expert code reviewer. Review the following code:
{{code}}
Provide:
1. Summary
2. Strengths
3. Issues
4. Improvements
5. Performance suggestions