shared — Claude Code skill: templates and rules for building skills
Helps you write new skills and clean up existing ones: structure, front matter, splitting into modules. Useful once your agent starts losing track of your instructions.
npx skills add rshankras/claude-code-apple-skills --skill shared -a claude-codeWhat shared does
The skill activates when you ask to create a skill, ask about skill structure, or want to refactor an old one. It ships one module, skill-creator/: templates for simple and modular skills, a walkthrough of YAML front matter, modularization patterns, and a list of common pitfalls. The flow is short — figure out what you need, read the module files, apply them to your case.
Tools are plain: Read, Write, Glob, Grep, Bash. Nothing extra to install, and no magic either — this is a set of text templates and advice, not a code generator. If you already have your own skill format, expect to adapt the templates by hand.
Worth it when you maintain several skills and want them consistent. For a single small skill you won't notice the difference.
What it helps with
- create a new skill from a template
- split an oversized skill into modules
- get YAML front matter right
- rewrite an old skill to match current structure
- figure out why the agent ignores your instructions
Example prompts for the agent
- help me create a new skill for handling migrations
- split my skill into modules, it has grown too big
- check the front matter in
~/.claude/skills/shared/SKILL.md
How to install shared
1Skills CLI (Vercel)
npx skills add rshankras/claude-code-apple-skills --skill shared -a claude-code2Manually: put the files in place
~/.claude/skills/shared/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/shared/
1Skills CLI (Vercel)
npx skills add rshankras/claude-code-apple-skills --skill shared -a codex2Manually: put the files in place
.agents/skills/shared/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add rshankras/claude-code-apple-skills --skill shared -a cursor2Manually: put the files in place
.cursor/skills/shared/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install rshankras/claude-code-apple-skills shared2Manually: put the files in place
.github/skills/shared/SKILL.md1Skills CLI (Vercel)
npx skills add rshankras/claude-code-apple-skills --skill shared -a gemini-cli2Platform CLI
gemini skills install https://github.com/rshankras/claude-code-apple-skills --path skills/sharedManually: put the files in place
.devin/skills/shared/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add rshankras/claude-code-apple-skills --skill shared -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about shared
How do I install shared in Claude?
Run npx skills add rshankras/claude-code-apple-skills --skill shared -a claude-code. The skill file then sits at ~/.claude/skills/shared/SKILL.md.
What does the shared skill do?
It provides templates and guidance for creating and improving skills: structure, front matter, modularization. The skill-creator/ module holds the examples and common pitfalls.
Which platforms does shared support?
It is described as platform-agnostic: Claude, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode. Each platform has its own install command.
Source text
SKILL.md · MIT
--- name: shared description: Platform-agnostic skills including skill creation templates and best practices. Use when creating new skills or improving existing ones. allowed-tools: [Read, Write, Glob, Grep, Bash] last_verified: 2026-07-16 review_by: 2027-06-22 --- # Shared Skills Platform-agnostic skills that work across iOS, macOS, and other Apple platforms. This category provides foundational tools for extending Claude Code's capabilities. ## When This Skill Activates Use this skill when the user: - Wants to create a new Claude Code skill - Asks about skill structure or organization - Wants to improve or refactor existing skills - Needs help with skill modularization - Asks about skill best practices or templates ## Available Modules Read relevant module files based on the user's needs: ### skill-creator/ Templates and guidance for creating well-structured Claude Code skills. - Skill structure and organization patterns - YAML front matter configuration - Modularization strategies - Templates for simple and complex skills - Best practices and common pitfalls ## How to Use 1. Identify user's need from their question 2. Read relevant module files from subdirectories 3. Apply the guidance to their specific context 4. Provide examples from existing skills when helpful ## Example Workflow **User wants to create a new skill:** 1. Read `skill-creator/SKILL.md` for the full creation process 2. Determine skill complexity (simple vs modularized) 3. Guide through front matter, structure, and content 4. Reference existing skills as examples
© rshankras · MIT · rshankras/claude-code-apple-skills