squad: Skill for Claude Code

.copilot/skills/pr-lifecycle/SKILL.md

pr-lifecycle is a skill for Claude Code, Codex from bradygaster/squad. It costs 14 tokens per session (5,030 once invoked), scanned A, original, MIT.

A step-by-step skill for taking a GitHub issue through implementation, review, pull-request checks, and merging in the Squad repository.

In plain words
What is it for?
Use it when picking up an issue, creating a branch, running build and test checks, opening or updating a pull request, and preparing it for merge.
Why use it?
It organizes the full change process and lists the checks needed before a pull request is merged.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is bradygaster/squad's own configuration. It tells Claude Code and Codex how to work on squad itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything squad configures →

About the project

bradygaster/squad is a tool that creates a human-directed team of AI development agents inside a project repository through GitHub Copilot. Developers use it to delegate work among persistent specialists such as frontend, backend, testing, and lead agents while retaining responsibility for decisions and review. The catalogue entries are the skills, agents, and instructions that define and coordinate those team members.

bradygaster/squad · 3,300 stars · on GitHub · bradygaster.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to bradygaster/squad. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/bradygaster/squad/dev/.copilot/skills/pr-lifecycle/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/bradygaster/squad

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-lifecycle

README.md
[![agentmods](https://agentmods.dev/badge/skills/bradygaster/squad/pr-lifecycle/github.svg)](https://agentmods.dev/skills/bradygaster/squad/pr-lifecycle)
Your own site
<a href="https://agentmods.dev/skills/bradygaster/squad/pr-lifecycle"><img src="https://agentmods.dev/badge/skills/bradygaster/squad/pr-lifecycle/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr-lifecycle

Your own site · 80×15
<a href="https://agentmods.dev/skills/bradygaster/squad/pr-lifecycle"><img src="https://agentmods.dev/badge/skills/bradygaster/squad/pr-lifecycle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,030 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 10 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 181
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 199
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 217
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 226
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 282
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Agent Snooping · line 13
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium MCP Rug Pull · line 115
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 216
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 217
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 374
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.05030
Opus 5.5 $0.00006 $0.02012
Sonnet 5.5 $0.00003 $0.01006
Haiku 4.5 $0.00001 $0.00503

Measured 1mo ago against content hash 5c7565dd855f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-lifecycle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.copilot/skills/pr-lifecycle/SKILL.md · 538 lines

How it starts

The opening of the file, as written. The whole thing — 538 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Context

This skill is the canonical Copilot-agent lifecycle for the Squad repository. It covers the full path from picking up a GitHub issue to merging a PR. Where older docs (templates, copilot-instructions, CONTRIBUTING.md) conflict with this skill, this skill takes precedence for Copilot agents.

For advanced scenarios (worktrees, multi-repo coordination), see .copilot/skills/git-workflow/SKILL.md.

Scope

✅ THIS SKILL COVERS:

  • Issue pickup and branch creation
  • Implementation, build, test, lint workflow
  • Pre-push safety verification
  • PR creation with correct target, title, body, and labels
  • All 11 PR readiness checks (what they check, how to pass, how to fix)
  • Post-creation maintenance (review feedback, rebasing, CI)
  • Merge preconditions and cleanup

❌ THIS SKILL DOES NOT COVER:

  • Worktree-based parallel work (see git-workflow skill)
  • Multi-repo coordinated PRs (see git-workflow skill)
  • Release process / publishing (see .squad/skills/release-process)
  • Reviewer lockout protocol (see .copilot/skills/reviewer-protocol)
  • Architectural or security review checklists

Lifecycle Procedure

Phase 1 — Issue Pickup

  1. Read the issue. Understand the acceptance criteria before writing code.

  2. Confirm capability fit. Check your capability profile in .squad/team.md. 🟢 = proceed. 🟡 = proceed but flag in PR. 🔴 = comment on issue and stop.

  3. Branch from dev:

    git fetch origin dev
    git checkout dev
    git rebase origin/dev
    git checkout -b squad/{issue-number}-{slug}
    
    • Branch name format: squad/{issue-number}-{kebab-case-slug}
    • Example: squad/42-fix-login-validation
    • Never branch from main
  4. Mark in-progress (optional):

    gh issue edit {number} --add-label "status:in-progress"
    

Phase 2 — Implementation

  1. Make your changes. Follow the codebase conventions:
    • TypeScript strict mode, no @ts-ignore
    • ESM-only, async/await
    • JSDoc on new public APIs

Read the full file on GitHub · 538 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 538 lines · 14 tokens per session scan A 5c7565dd855f

Subscribe to this mod's changes

pr-lifecycle is a skill published in the GitHub repository bradygaster/squad (3,300 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 5,030 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.