Use when generating structured markdown documents (READMEs, API docs, changelogs) or validating existing markdown for syntax errors, broken links, and style compliance. Provides GitHub Flavored Markdown (GFM) validation, comprehensive style guidelines, and document generation workflows.
/plugin marketplace add mthalman/superpowers/plugin install superpowers@claude-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/gfm-style-guide.mdscripts/markdownlint-config.jsonscripts/validate_markdown.shThis skill provides comprehensive support for generating and validating GitHub Flavored Markdown (GFM) documents. Use it when creating structured documentation, validating existing markdown files, or enforcing consistent style guidelines across a project.
Use this skill for:
User request related to markdown?
│
├─ Generating new document
│ └─ Follow "Generating Markdown Documents" workflow
│
├─ Validating existing document
│ └─ Follow "Validating Markdown Documents" workflow
│
└─ Questions about markdown best practices
└─ Consult GFM Style Guide reference
Identify what type of document is needed:
Before generating content, consult the GFM style guide for the appropriate document structure:
Read references/gfm-style-guide.md
The style guide contains:
Focus on the "Common Document Templates" section for the specific document type being created.
Follow these principles when generating markdown:
Headings:
# Heading)# for document titleCode Blocks:
```language formatLists:
- for unordered lists consistentlyLinks:
Tables:
:---, :---:, ---:) appropriatelyAfter generating the document, always validate it:
bash scripts/validate_markdown.sh path/to/generated/file.md
If validation fails, review errors and regenerate with corrections.
Execute the bundled validation script on the target file or directory:
bash scripts/validate_markdown.sh <file_or_directory>
Examples:
# Validate single file
bash scripts/validate_markdown.sh README.md
# Validate all markdown in directory
bash scripts/validate_markdown.sh docs/
# Validate and auto-fix issues
bash scripts/validate_markdown.sh README.md --fix
The script uses markdownlint-cli with GFM-optimized rules. Common errors:
For each error reported:
references/gfm-style-guide.md for the correct approachMany issues can be auto-fixed:
bash scripts/validate_markdown.sh README.md --fix
Beyond syntax, check for:
#anchor links point to existing headingsLocation: scripts/validate_markdown.sh
Purpose: Validates markdown using markdownlint-cli with GFM-specific configuration.
Prerequisites:
npm install -g markdownlint-cli
Usage:
# Basic validation
bash scripts/validate_markdown.sh file.md
# Auto-fix issues
bash scripts/validate_markdown.sh file.md --fix
# Validate directory
bash scripts/validate_markdown.sh docs/
Configuration: Rules are defined in scripts/markdownlint-config.json:
Location: references/gfm-style-guide.md
Purpose: Comprehensive reference for GFM best practices, common patterns, and document templates.
When to Read:
Contents:
How to Use:
Read references/gfm-style-guide.md
Then search for the relevant section (e.g., "Tables", "Code Blocks", "README.md Structure").
markdownlint-config.json in project repositoriesIf validation script reports markdownlint is not found:
# Install globally
npm install -g markdownlint-cli
# Or install locally in project
npm install --save-dev markdownlint-cli
For documents with numerous issues:
bash scripts/validate_markdown.sh file.md --fix--fix multiple times as some fixes enable other fixesThe bundled validation script checks markdown syntax but may not catch all broken internal links. To verify links:
-, removing special charactersTo customize validation rules, edit scripts/markdownlint-config.json:
{
"default": true,
"MD013": false, // Disable line length rule
"MD041": false // Disable "first line must be heading" rule
}
Refer to markdownlint rules for all available options.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.