Contributing to Swift Concurrency Agent Skill
January 23, 2026 Β· View on GitHub
Thank you for your interest in contributing! This repository contains an Agent Skill following the Agent Skills open format, which means it has specific structural requirements beyond typical documentation.
π€ What Are Agent Skills?
Agent Skills are modular capabilities that extend AI agents' functionality. They package instructions, metadata, and resources in a specific format that agents can discover and use automatically. This isn't just documentationβit's a structured skill that AI coding assistants load on-demand.
Learn more:
- Agent Skills Overview - Understanding the format
- Anthropic's Agent Skills Documentation - Official specification and best practices
π― Why This Matters
Contributors who aren't familiar with the Agent Skills format may inadvertently:
- Break the YAML frontmatter structure
- Use incorrect markdown formatting that agents can't parse
- Add content that doesn't follow agent-friendly patterns
- Miss important metadata requirements
That's why we strongly recommend using AI assistance for contributions.
β¨ Recommended Contribution Workflow
Option 1: Use the skill-creator skill (Highly Recommended)
The best way to contribute is to use Claude with the skill-creator skill. This ensures your contribution follows the Agent Skills format correctly.
How to use it:
-
Install the skill-creator skill in your Claude-compatible tool (Claude.ai, Cursor, etc.)
# If using skills.sh npx skills add https://github.com/anthropics/skills --skill skill-creator -
Ask Claude to help with your contribution:
Use the skill-creator skill to help me update the Swift Concurrency Agent Skill. I want to [describe your contribution]. -
Review the generated changes to ensure technical accuracy for Swift Concurrency
-
Submit your PR with the AI-generated improvements
Benefits:
- β Proper YAML frontmatter structure
- β Agent-friendly markdown formatting
- β Correct file organization
- β Follows best practices from Anthropic's guidelines
Option 2: Use Claude Without the skill-creator skill
If you don't have access to the skill-creator skill, you can still use Claude (or other AI assistants) to help:
-
Share the Agent Skills documentation with Claude:
-
Ask Claude to review your changes for Agent Skills format compliance
-
Request that Claude verify:
- YAML frontmatter is valid
- Markdown structure is agent-friendly
- Content follows progressive disclosure patterns
Option 3: Manual Contribution
If you prefer to contribute manually, please carefully review:
- The Agent Skills specification: https://agentskills.io/home
- Anthropic's best practices: https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices
- Existing file structure in this repository
Key requirements:
- YAML frontmatter must be valid and complete
- Use clear, actionable headings
- Keep instructions concise and agent-friendly
- Follow the existing reference file patterns
- Test your changes with an AI agent if possible
π Types of Contributions
We welcome contributions in these areas:
1. Bug Fixes
- Incorrect Swift Concurrency advice
- Outdated code examples
- Broken links or references
- Typos or clarity improvements
2. New Reference Content
- Additional Swift Concurrency patterns
- New error scenarios and solutions
- Swift 6+ feature coverage
- Real-world examples
3. SKILL.md Improvements
- Better decision trees
- Clearer triage guidance
- Updated agent behavior rules
4. Documentation Updates
- README improvements
- Installation instructions
- Usage examples
π― Quality Standards
All contributions should meet these standards:
Swift Concurrency Accuracy
- β Follows Swift 6+ best practices
- β Includes working code examples
- β Cites official Swift documentation when relevant
- β Avoids deprecated patterns
- β Considers performance implications
Agent Skills Format Compliance
- β Valid YAML frontmatter (if modifying SKILL.md)
- β Agent-friendly markdown structure
- β Clear, actionable instructions
- β Proper file organization
- β Progressive disclosure (don't overload main SKILL.md)
Testing
- β Test code examples compile (Swift 6 mode preferred)
- β Verify advice with an AI agent if possible
- β Check that links work
π Pull Request Process
-
Fork the repository and create a new branch
git checkout -b feature/your-contribution -
Make your changes (preferably using the skill-creator skill or Claude)
-
Test your changes:
- Verify code examples compile
- Check markdown formatting
- Test with an AI agent if possible
-
Commit with a clear message:
git commit -m "Add guidance for Swift 6.2 isolated deinit" -
Submit a pull request with:
- Clear description of what you changed and why
- Rationale for the change (link to Swift documentation, real-world scenario, etc.)
- Mention if you used skill-creator or Claude to ensure format compliance
- Test results if applicable
-
Respond to feedback - We may request changes to ensure accuracy or format compliance
π οΈ Development Setup
To test your changes locally:
-
Clone the repository:
git clone https://github.com/avdlee/swift-concurrency-agent-skill.git cd swift-concurrency-agent-skill -
Install the skill in your AI tool (see README.md)
-
Test with your AI agent:
Use the swift-concurrency skill and [test your specific change]
π Resources
Agent Skills Documentation
- Agent Skills Home - Format overview
- Anthropic's Agent Skills Guide - Official documentation
- Agent Skills Best Practices - Writing effective skills
- skill-creator skill - AI-assisted skill authoring
Swift Concurrency Resources
- Swift Concurrency Course - Comprehensive course by the author
- SwiftLee Blog - Swift Concurrency articles
- Swift Evolution Proposals - Official Swift language changes
- Apple's Swift Concurrency Documentation
π€ Code of Conduct
- Be respectful and constructive
- Focus on technical accuracy
- Welcome newcomers and help them learn
- Assume good intentions
β Questions?
- About Agent Skills format: See agentskills.io or Anthropic's docs
- About Swift Concurrency: Check the references folder or SwiftLee blog
- About this skill: Open an issue for discussion
π License
By contributing, you agree that your contributions will be licensed under the same MIT License that covers this project.
Thank you for helping make Swift Concurrency more accessible to AI agents and developers! π