💡 摘要
Claude Code 的技能集,通过自动和手动技能调用增强 WordPress 开发。
🎯 适合人群
🤖 AI 吐槽: “README 中暗示了潜在风险,例如不当的输入处理和依赖性漏洞。为减轻风险,确保所有输入都经过清理,并定期更新依赖项。”
风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发)。以最小权限运行,并在生产环境启用前审计代码与依赖。
Claude Code Skills & Configuration
Team skills and configuration for Claude Code, optimized for WordPress development.
Quick Install (Any System)
1. Clone the repo
cd ~ git clone https://github.com/vapvarun/claude-backup.git
2. Copy to Claude config folder
macOS/Linux:
mkdir -p ~/.claude/skills cp -r ~/claude-backup/skills/* ~/.claude/skills/ cp ~/claude-backup/CLAUDE.md ~/.claude/CLAUDE.md
Windows (PowerShell):
mkdir -Force $env:USERPROFILE\.claude\skills Copy-Item -Recurse $env:USERPROFILE\claude-backup\skills\* $env:USERPROFILE\.claude\skills\ Copy-Item $env:USERPROFILE\claude-backup\CLAUDE.md $env:USERPROFILE\.claude\CLAUDE.md
3. Verify installation
Open Claude Code and ask:
"List my available skills"
Updating Skills
Pull latest and copy again:
cd ~/claude-backup git pull cp -r skills/* ~/.claude/skills/ cp CLAUDE.md ~/.claude/CLAUDE.md
How Claude Uses These Skills
Automatic Detection
Claude reads CLAUDE.md on every conversation and applies relevant skills based on context:
| Your Request | Skills Auto-Applied | |--------------|---------------------| | "Build a plugin" | wp-plugin-development, wp-security-review | | "Review this code" | code-review, pr-review | | "Write docs" | documentation | | "Create marketing content" | marketing, email-marketing, social-media | | "Fix this bug" | wp-debugging | | "Is this secure?" | wp-security-review |
Manual Invocation
Use /skill [name] to explicitly load a skill:
/skill wp-security-review
/skill marketing
/skill code-review
Available Skills
WordPress Development
| Skill | Use For |
|-------|---------|
| wp-plugin-development | Building plugins |
| wp-theme-development | Building themes |
| wp-gutenberg-blocks | Block editor development |
| wp-security-review | Security audits |
| wp-performance-review | Performance audits |
| wp-debugging | Debugging issues |
| woocommerce | WooCommerce development |
Code Quality
| Skill | Use For |
|-------|---------|
| code-review | Reviewing code |
| pr-review | Pull request reviews with double verification |
| team-standards | Team coding conventions |
| testing | Writing tests (Jest, PHPUnit, Playwright) |
| accessibility | WCAG compliance |
Frontend
| Skill | Use For |
|-------|---------|
| frontend-design | UI design and implementation |
| css-styling | CSS and responsive design |
| react-component | React development |
| javascript | JavaScript patterns |
| typescript | TypeScript development |
Marketing & Communication
| Skill | Use For |
|-------|---------|
| marketing | Full marketing content packages |
| email-marketing | Email campaigns |
| social-media | Social media content |
| client-communication | Client emails and updates |
| documentation | User documentation |
Other
| Skill | Use For |
|-------|---------|
| git-workflow | Git and branching |
| api-endpoint | REST API development |
| database | Database design |
| devops | Deployment and CI/CD |
| seo-optimization | SEO improvements |
Team Guidelines (CLAUDE.md)
The master CLAUDE.md enforces:
Security (Non-Negotiable)
- Sanitize all input
- Escape all output
- Use nonces for forms
- Check capabilities
- Use
$wpdb->prepare()
Double Verification
Before completing any task:
- Security checklist
- Quality checklist
- Edge cases
- WordPress standards
Communication Style
- Human tone, not robotic
- Maximum one emoji per message
- No buzzwords (revolutionary, seamless, game-changing)
- No filler words (basically, simply, essentially)
- Direct and respectful of time
Edge Cases to Check
- Post with no featured image
- User with no display name
- Empty arrays and null values
- Zero vs empty string vs null
- First-time install (no saved options)
- Meta value of 0 vs not existing
For Claude: Self-Learning Instructions
When asked to update or learn from this repo:
- Read
CLAUDE.mdfor team guidelines - Scan
skills/folder for available skills - Read relevant
skill.mdfiles based on task - Apply guidelines and patterns from skills
- Follow double verification before completing work
To refresh your knowledge:
"Read the CLAUDE.md and skills in claude-backup repo and update your understanding"
Contributing
- Update skills in
claude-backup/skills/ - Update
CLAUDE.mdif adding team guidelines - Commit and push
- Run install commands on other systems to sync
优点
- 全面的 WordPress 开发技能集
- 支持自动和手动技能调用
- 包括安全和质量指南
缺点
- 需要熟悉 Claude Code
- 初学者可能会觉得安装过程复杂
- 仅限于与 WordPress 相关的任务
相关技能
免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。
版权归原作者所有 vapvarun.
