Best practices for using Claude Code in team environments. Covers skill management, knowledge capture, version control, and collaborative workflows.
npx claudepluginhub joshuarweaver/cascade-ai-ml-engineering --plugin delphine-l-claude-globalThis skill is limited to using the following tools:
This skill provides guidance on effectively using Claude Code in team environments, managing shared knowledge through skills, and maximizing value from AI-assisted development.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
This skill provides guidance on effectively using Claude Code in team environments, managing shared knowledge through skills, and maximizing value from AI-assisted development.
ALL skills and commands MUST be in the $CLAUDE_METADATA repository, never in individual project directories.
Never do this:
# Creating local skill in project
echo "---" > .claude/skills/my-local-skill/SKILL.md
Always do this:
# Create skill in central repo
mkdir -p $CLAUDE_METADATA/skills/project-name
echo "---" > $CLAUDE_METADATA/skills/project-name/SKILL.md
# Then symlink to project
ln -s $CLAUDE_METADATA/skills/project-name .claude/skills/project-name
Why centralization is mandatory:
Even project-specific skills go in the central repo under $CLAUDE_METADATA/skills/project-name/.
At session start:
.claude/skills/ files in your directoryDuring the session:
At session end:
Repeated problems with known solutions
New best practices discovered
Common workflows that need standardization
Configuration patterns that work
Important architectural decisions
Scenario 1: New error pattern discovered
Session: "WF8 fails when Hi-C files are missing R2 reads"
Action: ADD to troubleshooting - this will happen again
Rationale: Common issue with known solution
Scenario 2: One-off configuration issue
Session: "My personal laptop has Python 3.7, need 3.8"
Action: DON'T ADD to skill - personal environment issue
Rationale: Not relevant to others, not a recurring pattern
Scenario 3: Token optimization discovered
Session: "Using --quiet mode saves 15K to 2K tokens!"
Action: ADD to token efficiency skill
Rationale: Valuable for entire team, significant impact
User: "We just solved the issue with workflow timeouts in HPC environments.
Add this to the VGP skill under troubleshooting."
Claude: [Reads current skill, adds new troubleshooting entry, saves file]
User: "Based on our work today, what should we add to the VGP skill?"
Claude: [Reviews conversation, suggests additions]
User: "Yes, add those three things."
Claude: [Updates skill file]
User: "Summarize today's learnings and update the relevant skills."
Claude: [Creates summary, updates multiple skills if needed]
User: "We've been working on VGP for a month.
Review our conversation history and suggest skill improvements."
Claude: [Analyzes patterns, suggests updates]
Use for: Project-specific knowledge (VGP workflows, Galaxy APIs)
Location: $CLAUDE_METADATA/skills/project-name/ (NOT in project directory)
$CLAUDE_METADATA/
└── skills/
├── my-project/ # Project-specific skill
│ └── SKILL.md
└── another-project/
└── SKILL.md
my-project/
└── .claude/
└── skills/
└── my-project -> $CLAUDE_METADATA/skills/my-project # Symlink only!
Use for: General development practices, tool-agnostic optimizations, team-wide standards
Location: $CLAUDE_METADATA/skills/
This is THE standard pattern - all projects use symlinks, no exceptions.
# In each project
cd /path/to/project
mkdir -p .claude/skills .claude/commands
# Symlink skills from central repo
ln -s $CLAUDE_METADATA/skills/token-efficiency .claude/skills/token-efficiency
ln -s $CLAUDE_METADATA/skills/my-project .claude/skills/my-project
# Symlink commands from central repo
ln -s $CLAUDE_METADATA/commands/global/*.md .claude/commands/
Critical rule: Projects contain ONLY symlinks, never actual skill/command files.
skills/skill-name/
├── SKILL.md # Core concepts and quick reference
├── reference.md # Detailed technical documentation
├── troubleshooting.md # Common issues and solutions
├── examples/ # Code examples
└── templates/ # Template files
When to use:
Best practice:
1. Start session -> Claude reads skills
2. Work on task -> Learn new patterns
3. End session -> "What should we add to skills?"
4. Claude suggests -> You approve/modify
5. Git commit -> Share with team
1. Review week's commits
2. Identify patterns across sessions
3. Consolidate related updates
4. Remove outdated info
5. Share changelog with team
1. Audit all skills for conflicts
2. Measure token savings
3. Collect team feedback
4. Major refactoring if needed
5. Update skill documentation
Key Principles:
Critical Architectural Rule:
Even project-specific skills must live in the central repository. This ensures:
Remember: Claude is a powerful assistant, but skills are how you make that power consistent, shareable, and permanent. The centralized architecture ensures your team's knowledge remains organized, discoverable, and maintainable. Invest in your skills, and they'll pay dividends for your entire team.
This skill includes detailed reference documentation in the same directory:
These files provide deep technical details that complement the core concepts above.