Skip to content
team-workflows logo

Team Workflows

team-workflows

Team collaboration patterns - shared configs, standards, onboarding

SKILL.md

Full skill instructions

Team Workflows

Establish consistent Claude Code practices across your team with shared configurations, standards, and onboarding patterns.

Quick Reference

AspectLocationScope
Project Config./​CLAUDE.mdChecked into repo, shared by all
Project Rules./​.claude/​rules/​*.mdFile-specific team standards
Personal Config~/​.claude/​CLAUDE.mdIndividual preferences (not shared)
Team Skills./​.claude/​skills/Project-specific workflows
Settings./​.claude/​settings.jsonTeam tool settings

Configuration Hierarchy for Teams

Team Member's Machine
|
+-- ~/​.claude/​CLAUDE.md           # Personal (not checked in)
|
+-- Project Repository (shared)
    |
    +-- CLAUDE.md                 # Project standards
    |
    +-- .claude/
        +-- CLAUDE.md             # Alternative location
        +-- settings.json         # Tool settings
        +-- rules/​*.md            # File-specific rules
        +-- skills/​*.md           # Team workflows

What to Share vs. Keep Personal

Share (Version Control)Keep Personal (~/​.claude/)
Project conventionsEditor preferences
Build commandsTool aliases
Code style rulesAPI keys
Architecture docsPersonal shortcuts
Team workflowsExperimental settings

Team Standards Pattern

Code Style Enforcement

Create .claude/​rules/​code-style.md:

---
globs: ["**/​*.ts", "**/​*.tsx"]
description: Team TypeScript conventions
alwaysApply: true
---

# Code Style Standards

## Formatting
- Use 2-space indentation
- Single quotes for strings
- No semicolons (Prettier handles)
- Max line length: 100 characters

## Naming
- Components: PascalCase
- Functions: camelCase
- Constants: UPPER_SNAKE_CASE
- Files: kebab-case.ts

## Imports
- Absolute imports from `@/`
- Group: external, internal, relative
- Sort alphabetically within groups

Review Standards

Create .claude/​rules/​reviews.md:

---
globs: ["**/​*"]
description: Code review standards
alwaysApply: false
---

# Code Review Checklist

When reviewing or preparing code for review:

## Required
- [ ] Tests cover new functionality
- [ ] No console.log statements
- [ ] Error handling for async operations
- [ ] TypeScript strict mode passes

## Performance
- [ ] No N+1 queries
- [ ] Large lists use pagination
- [ ] Images are optimized

## Security
- [ ] No secrets in code
- [ ] User input is validated
- [ ] SQL uses parameterized queries

Shared Skills Pattern

Teams can create project-specific skills in .claude/​skills/:

Structure

.claude/
  skills/
    deploy/
      SKILL.md           # Deployment workflow
    pr-workflow/
      SKILL.md           # PR creation standards
    incident-response/
      SKILL.md           # On-call procedures

Example Team Skill

Create .claude/​skills/​feature-workflow/​SKILL.md:

---
name: feature-workflow
description: Team feature development workflow from branch to merge.
---

# Feature Workflow

## 1. Create Branch
```bash
git checkout main && git pull
git checkout -b feature/​TICKET-123-description

2. Development

  • Follow .claude/​rules/​code-style.md
  • Write tests alongside code
  • Update CHANGELOG.md

3. Pre-PR Checks

bun test
bun lint
bun typecheck

4. Create PR

  • Title: feat(scope): description
  • Link to ticket
  • Add reviewers from CODEOWNERS

## Team Settings

Share tool configurations via `.claude/​settings.json`:

```json
{
  "permissions": {
    "allow": [
      "Bash(bun:*)",
      "Bash(git:*)",
      "Bash(docker compose:*)"
    ],
    "deny": [
      "Bash(rm -rf:*)",
      "Bash(git push --force:*)"
    ]
  }
}

Note: Personal API keys and sensitive settings should remain in ~/​.claude/​settings.json.

Workflow: Setting Up Team Standards

Prerequisites

  • Git repository initialized
  • Team coding conventions discussed
  • Key commands documented

Steps

  1. Create Project CLAUDE.md

    • Add project description
    • Document all commands
    • List tech stack
    • Note key architecture decisions
  2. Create Rules Directory

    • .claude/​rules/​code-style.md
    • .claude/​rules/​testing.md
    • .claude/​rules/​security.md
  3. Add Team Skills

    • .claude/​skills/ for common workflows
    • Document team-specific procedures
  4. Configure Settings

    • .claude/​settings.json with permissions
    • Add to .gitignore if contains secrets
  5. Document Onboarding

    • Add onboarding section to CLAUDE.md
    • Create onboarding skill if complex

Validation

  • All files committed to version control
  • New team member can onboard using docs
  • Rules load correctly for target files

Common Team Patterns

Monorepo Team Setup

monorepo/
  CLAUDE.md                    # Shared conventions
  .claude/
    rules/
      frontend.md              # Globs: apps/​web/​**/​*
      backend.md               # Globs: apps/​api/​**/​*
      shared.md                # Globs: packages/​**/​*
    skills/
      release/​SKILL.md         # Release workflow
  apps/
    web/​CLAUDE.md              # Frontend-specific
    api/​CLAUDE.md              # Backend-specific

Feature Team Setup

project/
  CLAUDE.md                    # Project-wide
  .claude/
    rules/
      team-alpha.md            # Globs: src/​features/​alpha/​**/​*
      team-beta.md             # Globs: src/​features/​beta/​**/​*
    skills/
      handoff/​SKILL.md         # Cross-team handoff

Rotating Roles Setup

project/
  .claude/
    rules/
      on-call.md               # On-call procedures
      review-duty.md           # Review rotation rules
    skills/
      incident/​SKILL.md        # Incident response
      triage/​SKILL.md          # Bug triage

Knowledge Sharing

Decision Documentation

Include in CLAUDE.md:

## Architecture Decisions

### ADR-001: Use Drizzle over Prisma
**Status:** Accepted
**Context:** Need TypeScript ORM with good Bun support
**Decision:** Use Drizzle for lighter bundle and better TS inference
**Consequences:** Team needs to learn Drizzle API

Pattern Library

Create .claude/​rules/​patterns.md:

---
globs: ["src/​**/​*.ts"]
description: Approved implementation patterns
alwaysApply: true
---

# Approved Patterns

## API Calls
Use the `apiClient` wrapper, not fetch directly:
```ts
// Good
const data = await apiClient.get('/​users');

// Avoid
const data = await fetch('/​api/​users');

Error Handling

Always use Result type for operations that can fail:

// Good
const result = await createUser(data);
if (result.isErr()) { handle error }

// Avoid
try { await createUser(data) } catch { ... }

## Best Practices

### Do

- Commit CLAUDE.md and .claude/ to version control
- Keep personal preferences in ~/​.claude/
- Review configurations during onboarding
- Update docs when conventions change
- Use rules for file-specific guidance

### Avoid

- Putting secrets in shared configs
- Overly long CLAUDE.md files
- Conflicting personal and project settings
- Stale documentation
- Duplicating official docs

## Reference Files

| File | Contents |
|------|----------|
| [SHARED-CONFIG.md](./SHARED-CONFIG.md) | Sharing configurations across team |
| [STANDARDS.md](./STANDARDS.md) | Establishing team standards |
| [ONBOARDING.md](./ONBOARDING.md) | Onboarding new team members |

## Validation Checklist

Before sharing team configuration:

- [ ] CLAUDE.md checked into version control
- [ ] No secrets in shared configurations
- [ ] Rules have appropriate glob patterns
- [ ] Skills are documented and tested
- [ ] Onboarding process documented
- [ ] Team has reviewed and approved

More skills from diegosouzapw

accessibility logo
diegosouzapw/awesome-omni-skill

accessibility

Accessibility guidelines for VS Code features — covers accessibility help dialogs, accessible views, verbosity settings, accessibility signals, ARIA alerts/status announcements, keyboard navigation, and ARIA labels/roles. Applies to both new interactive UI surfaces and updates to existing feature...

62 1
View
mermaid-diagrams logo
diegosouzapw/awesome-omni-skill

mermaid-diagrams

Mermaid diagram creation for flowcharts, sequences, ERDs, and more. Generate diagrams from text in markdown files. Use for documentation, architecture diagrams, and visual representations. Triggers on mermaid, flowchart, sequence diagram, ERD, entity relationship, gantt chart, pie chart, class di...

62 1
View
tauri2-react-rust logo
diegosouzapw/awesome-omni-skill

tauri2-react-rust

Guides development of cross-platform desktop apps with Tauri 2, TypeScript, React, and Rust. Use when building Tauri apps, implementing IPC, designing Rust backend or TypeScript/React frontend, when researching or cloning a website (open site, snapshot elements), when verifying local dev or built...

62 1
View
fp-ts-errors logo
diegosouzapw/awesome-omni-skill

fp-ts-errors

Handle errors as values using fp-ts Either and TaskEither for cleaner, more predictable TypeScript code. Use when implementing error handling patterns with fp-ts.

62 0
View
ring:pre-dev-research logo
diegosouzapw/awesome-omni-skill

ring:pre-dev-research

Gate 0 research phase for pre-dev workflow. Dispatches 3 parallel research agents to gather codebase patterns, external best practices, and framework documentation BEFORE creating PRD/TRD. Outputs research.md with file:line references.

62 0
View
create-assistant logo
diegosouzapw/awesome-omni-skill

create-assistant

Create and configure Vapi voice AI assistants with models, voices, transcribers, tools, hooks, and advanced settings. Use when building voice agents, phone bots, customer support assistants, or any conversational AI that handles phone or web calls.

62 0
View
codex-headless logo
diegosouzapw/awesome-omni-skill

codex-headless

Delegiere Aufgaben an OpenAI Codex CLI im Headless-Mode. Nutzt ChatGPT Subscription (KEIN API Key). Nur Workspace-Zugriff, KEIN System-Zugriff. Auto-Accept mit --full-auto. Web-Recherche mit --search.

62 0
View
social-media-scheduler logo
diegosouzapw/awesome-omni-skill

social-media-scheduler

Generate a full week of social media content for any topic. Outputs platform-optimized posts for Twitter/X, LinkedIn, and Instagram with hashtags and posting times.

62 0
View
Data Privacy Compliance logo
diegosouzapw/awesome-omni-skill

Data Privacy Compliance

Data privacy and regulatory compliance specialist for GDPR, CCPA, HIPAA, and international data protection laws. Use when implementing privacy controls, conducting data protection impact assessments, ensuring regulatory compliance, or managing data subject rights. Expert in consent management, da...

62 0
View
triple-review logo
diegosouzapw/awesome-omni-skill

triple-review

Reviews a task using the TRIPLE protocol, as the review agent.

62 0
View
Tech Stack & Architecture Decision logo
diegosouzapw/awesome-omni-skill

Tech Stack & Architecture Decision

Define and document the technology stack and architecture decisions for a project. Use when the user needs to choose a tech stack, make architecture decisions, define infrastructure choices, or document technology selections. Triggers on requests like "define the tech stack", "choose technologies...

62 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View