team-rules
Use when the user asks about team working agreements, code review rules, branch and PR policies, an RFC process, decision-making rules, on-call norms or…
от j4flmao★ 47 звёзд на GitHub
Установить team-rules в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Team Rules
Purpose
Establish team collaboration protocols covering code review, branch strategy, communication, incident response, decision-making, working agreements, and knowledge sharing processes that scale from small teams to organizations.
Agent Protocol
Trigger
User request includes: team rules, team protocol, collaboration, code review, branch strategy, pr template, git flow, rfc process, incident response, on-call, decision making, working agreements, team norms, async communication, meeting cadence.
Input Context
- Team size and composition (devs, QA, devops, PM)
- Current workflow issues (slow reviews, broken builds, merge conflicts)
- Technology stack (Git provider, CI platform, communication tools)
- Company culture (remote, office, hybrid)
- Team maturity level and pain points
Output Artifact
A markdown document containing:
- Code review protocol with review criteria checklist
- Branch strategy specification (GitFlow / Trunk-based)
- Pull request template
- Communication protocols (sync vs async, meeting cadence)
- On-call rotation and incident response procedure
- RFC decision-making process
- Knowledge sharing guidelines
- Working agreements and team norms
Response Format
Produce the artifact directly. No preamble, no postamble, no explanations. No filler, no hedging, no transitions. Strip articles a/an/the where unambiguous. Compress output — why use many token when few do trick. Output artifacts rendered as markdown.
——
Completion Criteria
- All protocols are actionable (numbered steps, checklists)
- Review criteria include clear Accept/Reject conditions
- Branch strategy includes naming convention and lifecycle
- Incident response includes severity levels and timeline
- RFC process includes template and approval criteria
- Working agreements documented and socialized
Max Response Length
4096 tokens
Workflow
Step 0: Assess Team Maturity
Team Maturity Assessment
Level 1 — Forming: No rules, informal processes, chaotic
Level 2 — Norming: Basic rules exist, inconsistently followed
Level 3 — Performing: Rules followed, continuously improved
Level 4 — Optimizing: Metrics-driven, automated enforcement
Choose rule complexity based on maturity. Start with 3-5 essential rules at Level 1. Add ceremony as team grows. Never add rules the team cannot or will not follow.
Step 1: Define Working Agreements
Working Agreement Template
## Communication
- Async-first: prefer Slack/issue comments over meetings
- Sync meetings have agenda shared 24h in advance
- Decisions documented in writing (ADR, issue, PR)
- Assume good intent — ask clarifying questions, not accusations
- Reply within 4 business hours during working hours
## Availability
- Core hours: {start}-{end} local time
- Calendar reflects true availability (focus blocks, PTO, appointments)
- PTO: minimum 2 weeks notice for >2 days
## Decision Making
- Default to autonomy: make decision, document, move on
- Escalate when: high impact, irreversible, cross-team
- Disagree and commit: once decided, everyone supports
## Quality
- No broken builds on main — fix or revert within 30 min
- Tests not optional — every PR includes tests or documented exception
- Tech debt: 15-20% sprint capacity allocated
Decision Making Level Framework
Level | Scope | Decision Maker | Process
L1 | Within team, reversible | Individual | Document in ticket
L2 | Within team, irreversible| Team consensus | ADR + team discussion
L3 | Cross-team | Tech lead + PM | RFC + review process
L4 | Organization-wide | Architecture comm. | Formal RFC with voting
Step 2: Establish Code Review Protocol
Review Criteria Decision Tree
PR submitted
├── CI passes?
│ ├── NO → Reject, fix CI issues first
│ └── YES →
│ ├── Single responsibility? (one feature/fix per PR)
│ │ ├── NO → Reject, split PR
│ │ └── YES →
│ │ ├── Tests included for new logic?
│ │ │ ├── NO → Reject, require tests
│ │ │ └── YES →
│ │ │ ├── Any secrets, credentials, hardcoded URLs?
│ │ │ │ ├── YES → Reject, block immediately
│ │ │ │ └── NO →
│ │ │ │ ├── Error paths handled?
│ │ │ │ │ ├── NO → Request changes
│ │ │ │ │ └── YES →
│ │ │ │ │ ├── Scope creep beyond title?
│ │ │ │ │ │ ├── NO → Approve (or comment nits)
│ │ │ │ │ │ └── YES → Reject, re-scope
Review Criteria Checklist
Every PR must pass all applicable checks before merging:
[ ] No commented-out code or console.log/debug statements
[ ] No secrets, credentials, or hardcoded URLs
[ ] Error paths handled (no empty catch blocks)
[ ] Input validation pres
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/branch-strategy.md
- references/code-review-protocol.md
- references/communication-protocol.md
- references/conflict-resolution.md
- references/team-rules-advanced.md
- references/team-rules-fundamentals.md
- references/working-agreements.md
FAQ
Что делает скилл team-rules?
Use when the user asks about team working agreements, code review rules, branch and PR policies, an RFC process, decision-making rules, on-call norms or communication protocols. Produces written team rules and collaboration protocols. Not for reviewing a specific PR (use code-review) or team structure (use management-team-topology).
Как установить скилл team-rules?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл team-rules запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…