This file contains project-specific guidance for Claude Code when working on this repository.
wp-dev-prompts is a collection of AI prompts, skills, agents, templates, and workflows for WordPress plugin development. It's designed to be platform-agnostic, working with Claude Code, Cursor, Cline, ChatGPT, Gemini, and others.
wp-dev-prompts/
├── prompts/ # AI prompts organized by category
├── agents/ # Agent compositions and specialists
├── skills/ # Reusable knowledge modules
├── templates/ # Project templates and checklists
├── workflows/ # Multi-step automation workflows
├── platforms/ # Platform-specific configurations
├── docs/ # Documentation and guides
├── tests/ # Test files and audit tools
└── .claude/ # Claude Code configuration
When creating or editing any documentation, prompts, or templates:
-
Load style guides first (in priority order):
skills/prompt-engineering/references/anti-patterns.md— highest priorityskills/prompt-engineering/references/wordpress-docs-style-guide.mdskills/prompt-engineering/references/style-guide.md
-
Follow these rules:
- Use second person ("you") and present tense
- Use active voice and contractions
- Vary sentence and paragraph lengths
- Be direct and specific, not vague
-
Never use AI indicator words:
- delve, tapestry, myriad, leverage, utilize
- seamless, robust, cutting-edge, game-changer
- furthermore, moreover, subsequently
- "In today's fast-paced world..."
Always reference templates/marketing/STYLE-REFERENCES.md which includes:
- Anti-pattern checks
- WordPress standards
- Inclusivity guidelines
- Voice consistency
All prompts should follow this structure:
# [Prompt Name]
> **Category**: [category/subcategory]
> **Platforms**: All | Claude Code | Cursor | etc.
<prompt>
[Prompt content here]
</prompt>
## Usage
[How to use this prompt]
## Customization
[What can be modified]Skills should use:
# [Skill Name]
> **Topic**: [category/skill-name]
> **Platforms**: All
> **Source**: [attribution]
<skill>
<summary>[One-line description]</summary>
<knowledge>[Content]</knowledge>
<references>[Links]</references>
</skill>- Never start with clichéd openings ("In today's...", "Let's dive into...")
- Never use formal transitions (furthermore, moreover, additionally)
- Never write monotonous prose (vary sentence lengths)
- Never add unsolicited documentation or README files
- Never add emojis unless explicitly requested
- Never create files outside the repository root
- Never delete files without explicit confirmation
- Never modify .git directory contents
- Never commit secrets or credentials
- Never force push to main branch
- Never amend commits by other authors
- Never skip pre-commit hooks without user request
- Never push without explicit user instruction
Before completing work, verify with these commands:
# Verify no orphaned files
find . -name "*.md" -type f | head -20# Look for common issues
grep -r "In today's" --include="*.md" . || echo "No clichés found"
grep -r "delve" --include="*.md" . || echo "No AI indicators found"# Find broken internal links
grep -r "\](\./" --include="*.md" . | head -10This repo tracks 12 external sources. See UPSTREAM.md for:
- WordPress/agent-skills (WordPress development patterns)
- richtabor/skills + richtabor/agent-skills (writing, accessibility, motion design)
- WordPress/WordPress-Documentation-Style-Guide
- pluginslab/wp-devdocs-mcp (hook/filter/block database MCP server)
- jonathanbossenger/wp-openrouter-provider (WordPress AI Client + OpenRouter)
- laxmariappan/abilities-scout (Abilities API static analysis)
When syncing upstream changes:
- Check
UPSTREAM.mdfor last sync dates - Review upstream commits since last sync
- Apply relevant changes manually
- Update sync date in
UPSTREAM.md
- Create file in appropriate
skills/[category]/directory - Follow the skill format above
- Update
skills/README.mdwith new entry - Add references to relevant prompts
- Create file in appropriate
prompts/[category]/directory - Follow the prompt format above
- Link to relevant skills in references section
- Test in at least one platform
- Review
templates/marketing/STYLE-REFERENCES.mdfirst - Load all three style guide references
- Use appropriate template from
templates/marketing/ - Run style checks before finalizing
- Start complex tasks in Plan mode (shift+tab twice)
- Verify changes with grep/find commands
- Use
/commit-push-prfor standard git workflow - Reference this file when unsure about conventions
This repo works well with multiple Claude sessions:
- One for content creation
- One for verification/testing
- One for git operations