5.2 KiB
Contributing to McKinsey/BCG Style Visualization Skill
Thank you for your interest in contributing to this Claude Code Skill! This document provides guidelines for contributing to the project.
How to Contribute
Reporting Issues
If you encounter bugs, have feature requests, or find areas for improvement:
- Check the existing issues to avoid duplicates
- Open a new issue with a clear title and description
- For bugs, include:
- Steps to reproduce
- Expected behavior
- Actual behavior
- Claude Code version
- Operating system
Suggesting Enhancements
We welcome suggestions for new visualization types, design improvements, or additional features:
- Open an issue with the "enhancement" label
- Clearly describe the proposed feature
- Explain the use case and benefits
- Provide examples if possible
Submitting Pull Requests
- Fork the repository to your GitHub account
- Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/mckinsey-style-visualization-skill.git cd mckinsey-style-visualization-skill - Create a branch for your changes:
git checkout -b feature/your-feature-name - Make your changes following the guidelines below
- Test your changes thoroughly with Claude Code
- Commit your changes with clear, descriptive messages:
git commit -m "Add new visualization type: [name]" - Push to your fork:
git push origin feature/your-feature-name - Open a Pull Request from your fork to the main repository
Contribution Guidelines
For SKILL.md Changes
When modifying SKILL.md:
-
Maintain the YAML frontmatter structure:
- Keep the
nameanddescriptionfields intact - Only modify frontmatter if absolutely necessary
- Keep the
-
Follow the existing format:
- Use consistent heading levels
- Maintain the current section structure
- Keep examples clear and concise
-
Add new visualization types:
- Follow the existing template for Types 1-11
- Include: Use case, Elements, Example
- Add corresponding prompt engineering template
-
Update version history:
- Add a new entry at the top of the Version History section
- Use the format:
- **vX.X** (YYYY-MM-DD): Description of changes
-
Test with Claude Code:
- Ensure Claude can parse the updated SKILL.md
- Test that new instructions work as expected
- Verify automatic skill invocation still works
For README.md Changes
When updating the README:
- Keep the structure consistent with the current format
- Update examples if you add new features
- Ensure all links work correctly
- Update the version history if applicable
For Documentation
- Write in clear, professional English
- Use markdown formatting consistently
- Include code examples where appropriate
- Keep explanations concise but comprehensive
Code of Conduct
- Be respectful and constructive in all interactions
- Focus on the content, not the person
- Accept feedback gracefully
- Help create a welcoming environment for all contributors
What We're Looking For
High Priority
- New visualization types with clear use cases
- Improved prompt engineering templates
- Better examples and use cases
- Documentation improvements
- Bug fixes
Medium Priority
- Additional design guidelines
- Integration examples with other skills
- Accessibility improvements
- Internationalization (with careful consideration of rendering issues)
Low Priority
- Minor formatting changes
- Typo fixes (though still appreciated!)
Testing Your Changes
Before submitting a pull request:
-
Install the modified skill in Claude Code:
# Copy your modified version to the skills directory cp -r /path/to/your/fork ~/.claude/skills/mckinsey-style-visualization-test -
Test automatic invocation:
- Ask Claude to create visualizations matching the skill description
- Verify Claude loads the skill automatically
-
Test manual invocation:
- Use
/mckinsey-style-visualizationcommand - Test with various requests
- Use
-
Test new features:
- If you added new visualization types, test them thoroughly
- Verify prompt templates produce expected results
- Check that examples work correctly
-
Verify quality:
- Run through the quality checklist in SKILL.md
- Ensure output matches McKinsey/BCG style guidelines
Review Process
- A maintainer will review your pull request
- They may request changes or ask questions
- Once approved, your changes will be merged
- Your contribution will be acknowledged in the commit history
Recognition
All contributors will be recognized in the project. Significant contributions may be highlighted in release notes.
Questions?
If you have questions about contributing:
- Check this document first
- Review existing issues and pull requests
- Open a new issue with the "question" label
- Be patient - we'll respond as soon as possible
License
By contributing to this project, you agree that your contributions will be licensed under the MIT License.
Thank you for helping improve this Claude Code Skill! Your contributions make it better for everyone.