An agent skill for developing Dify plugins.
# In Claude Code, run:
/plugin marketplace add Petrus-Han/dify-plugin-skill
/plugin install dify-plugin@dify-plugin-skills$skill-installer install https://github.com/Petrus-Han/dify-plugin-skill for this repoOpenCode skill is Claude-Code-compatible. Install this skill for Claude Code and it will be available for OpenCode.
- Development SOP
- Dify repositories references as context
- Plugin development guide for each plugin type
- Debugging and testing guide
- Best practices and common pitfalls
This skill is based on real plugin development experience:
- Mercury Tools Plugin - OAuth2, environment selection, no LLM calls
- QuickBooks Payments Plugin - Tokenization, payment processing
- Mercury Trigger Plugin - Webhook handling, signature verification
Plugin Directory: my_service_plugin/
Plugin Name: my_service
Provider Files: provider/my_service.{yaml,py}
Tool Files: tools/{action}_{resource}.{yaml,py}
This skill is designed to evolve with the Dify plugin ecosystem. Contributions are welcome!
-
Share Your Experience
- Add new pitfalls you've encountered
- Document solutions to common problems
- Share plugin examples
-
Improve Documentation
- Clarify confusing sections
- Add more code examples
- Update for new Dify versions
-
Add Examples
- Contribute real-world plugin examples
- Document complex integration patterns
- Share testing strategies
- Fork or branch from main
- Make your changes
- Test with a real plugin development scenario
- Submit pull request with clear description
- Include version bump in SKILL.md if applicable
MIT License - See LICENSE file for details
- Initial release with 8-phase workflow
- Common pitfalls and debugging guide
- Best practices and real-world examples
- Based on Mercury and QuickBooks plugin development experience
Maintained by: Dify
Status: Active Development
Questions? Open an issue or contribute via pull request!