mirror of
https://github.com/auth0/agent-skills.git
synced 2026-09-19 02:38:28 +08:00
3.1 KiB
3.1 KiB
Contributing
We appreciate feedback and contribution to this repo! Before you get started, please see Auth0's general contribution guidelines.
How to Contribute
Adding a New Skill
- Determine which plugin your skill belongs to:
plugins/auth0/- Core skills (quickstart, migration, MFA, etc.)plugins/auth0-sdks/- Language or Framework related SDK skills
- Create a new directory under the appropriate plugin's
skills/directory - Add a
SKILL.mdfile following the Agent Skills specification - Optionally add additional reference files
- Update the README.md to list your skill in the appropriate table
- Submit a pull request
Skill Structure
plugins/auth0-sdks/skills/my-skill/
├── SKILL.md # Required: Main skill file
├── references/ # Optional: Additional documentation
│ └── reference.md
└── scripts/ # Optional: Helper scripts
└── helper.js
SKILL.md Requirements
Your SKILL.md must include:
-
YAML Frontmatter with required fields:
--- name: my-skill description: Brief description of what this skill does and when to use it. license: Apache-2.0 metadata: author: your-name version: 1.0.0 --- -
Clear Instructions: Step-by-step guidance for the AI agent
-
Code Examples: Working code samples for each SDK where applicable
-
Error Handling: Common errors and how to handle them
Code Style
- Use TypeScript for examples where applicable
- Include comments explaining complex logic
- Follow Auth0's coding conventions
- Test code examples before submitting
Updating Existing Skills
- Fork the repository
- Make your changes
- Ensure all code examples are correct
- Update version in metadata if significant changes
- Submit a pull request with clear description of changes
Local Development
Validating Skills
Use the skills reference library to validate your skills:
# Validate a specific skill
npx skills-ref validate ./plugins/auth0-sdks/skills/my-skill
# Validate all skills in a plugin
npx skills-ref validate ./plugins/auth0-sdks/skills/
Testing with AI Assistants
Test your skills work correctly with AI assistants:
- Install the plugin/skill locally:
# Install entire plugin npx skills add ./plugins/auth0-sdks # Or copy to Claude skills directory cp -r ./plugins/auth0-sdks/skills/my-skill ~/.claude/skills/ - Ask an AI assistant to use the skill
- Verify the generated code is correct
Pull Request Process
- Ensure your changes follow the contribution guidelines
- Update documentation as needed
- Add your changes to CHANGELOG.md (if applicable)
- Request review from maintainers
- Address any feedback
Code of Conduct
Please follow Auth0's Code of Conduct.
Questions?
If you have questions about contributing, please open an issue with the "question" label.