shared-setup-patterns
FreeNo executable scriptsNot checkedShared configuration patterns for project setup commands. Provides security hooks, Claude framework structure templates, and framework detection patterns used…
About this skill
Shared Setup Patterns
Purpose: Common configuration patterns and templates shared across all project setup commands.
Used by: /setup:python, /setup:javascript, /setup:existing, /setup:explore, /setup:user
Token Impact: Provides ~1,700 tokens of shared templates loaded once, avoiding duplication across 5+ commands (saves ~3,200 tokens through reuse).
Contents
This skill contains ONLY patterns shared by multiple setup commands:
- Security Hooks - PreToolUse and PostToolUse hooks for all project types
- Claude Framework Structure - .claude/ directory templates and memory files
- Framework Detection - Patterns for auto-detecting project languages and frameworks
Language-specific templates (Python, JavaScript, etc.) are kept inline in their respective commands.
1. Security Hooks
Located: templates/security_hooks.json
Comprehensive security and quality hooks configuration:
- PreToolUse: Blocks dangerous commands (rm -rf, sudo, chmod 777)
- PostToolUse: Auto-formats code (ruff, prettier, eslint), validates JSON/markdown
Used by: ALL setup commands that create projects
2. Claude Framework Structure
Located: templates/claude_framework/
Templates for .claude/ directory structure:
structure.md- Directory layout and purposememory_templates/- project_state.md, dependencies.md, conventions.md, decisions.mdwork_structure.md- Work directory organization
Used by: ALL setup commands
3. Framework Detection Patterns
Located: templates/framework_detection.md
Patterns for auto-detecting:
- Languages: Python, JavaScript/TypeScript, Go, Rust
- Frameworks: FastAPI, Django, Flask, Next.js, React, Express
- Tools: pytest, Jest, Mocha, go test, cargo test
Used by: /setup:existing, /setup (if dispatcher exists)
Usage Pattern
Commands reference this skill in frontmatter:
skills: [shared-setup-patterns]
Then access specific templates:
- Security hooks: Load from
templates/security_hooks.json - Framework structure: Generate from
templates/claude_framework/templates - Detection: Use patterns from
templates/framework_detection.md
Design Principle
Only truly shared content lives here. Language-specific templates (Python pyproject.toml, JavaScript package.json) stay inline in their respective commands to avoid skill overhead for single-use templates.
This keeps each command self-contained while sharing common infrastructure patterns.
Install shared-setup-patterns in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the shared-setup-patterns skill do?
Shared configuration patterns for project setup commands. Provides security hooks, Claude framework structure templates, and framework detection patterns used across multiple setup commands.
How do I install the shared-setup-patterns skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the shared-setup-patterns skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic