Skip to content
Skill

Setup repo skills

Scaffolds per-repo config so engineering skills know your issue tracker and labels

Setup repo skills is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Setup repo skills

This skill walks the user through a short interactive setup that writes an Agent skills block into CLAUDE.md or AGENTS.md, plus a docs/agents folder. It covers three decisions: which issue tracker to use (GitHub, GitLab, local markdown, or a custom one), the label names used for the five triage roles, and where domain context and architecture decision records live. It explores the repo first, presents findings, and asks one section at a time before drafting anything.

The skill is prompt-driven rather than a script. It draws on seed templates bundled in its folder and only writes files after the user confirms or edits the draft. Afterwards, the user can edit the generated docs directly, and re-running the setup is only needed to switch trackers or start over.

It is meant for repositories that use a companion set of engineering skills such as to-issues, triage, diagnose, tdd and zoom-out. Those skills read the generated files to find the tracker and label conventions for the repo.

When your agent uses it

Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's issue tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-issues`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the issue tracker, triage labels, or domain docs.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 12 files (14 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/setup-repo-skills to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/setup-repo-skills &&
cp -R "$tmp/skills/setup-repo-skills" ~/.claude/skills/setup-repo-skills &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/setup-repo-skills inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/setup-repo-skills to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/setup-repo-skills &&
cp -R "$tmp/skills/setup-repo-skills" ~/.agents/skills/setup-repo-skills &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/setup-repo-skills inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/setup-repo-skills to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/setup-repo-skills &&
cp -R "$tmp/skills/setup-repo-skills" ~/.cursor/skills/setup-repo-skills &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/setup-repo-skills inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/oneafrikan/the-grid.git --path skills/setup-repo-skills

Or copy the folder to ~/.gemini/skills/setup-repo-skills yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/setup-repo-skills:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/oneafrikan/the-grid.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/setup-repo-skills &&
cp -R "$tmp/skills/setup-repo-skills" ~/.copilot/skills/setup-repo-skills &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/setup-repo-skills inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/oneafrikan/the-grid.git

Then copy the-grid/skills/setup-repo-skills into your agent's skills folder as setup-repo-skills. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Issue tracker selection
Lets the user pick GitHub, GitLab, local markdown or a custom tracker and records the choice in the repo.
Triage label mapping
Maps the five canonical triage roles to the label strings the repo actually uses.
Domain docs layout
Sets where domain context and architecture decision records live and how agents should read them.
Agent skills block
Adds a dedicated section to CLAUDE.md or AGENTS.md pointing agents at the generated configuration.
Guided interactive setup
Explores the repo first, then confirms each decision one at a time before any files are written.

Good for

  • Prepare a repository before running the to-issues or to-prd skills for the first time
  • Point triage skills at a GitHub issue tracker with the team's own label names
  • Switch a project from local markdown issues to GitLab issues
  • Record where domain glossary and ADR files live so other skills can find them

Setup repo skills FAQ

When should I run Setup repo skills?

Run it before first use of to-issues, to-prd, triage, diagnose, tdd, improve-codebase-architecture or zoom-out, or when those skills seem to lack context about the issue tracker, labels or domain docs.

What files does Setup repo skills create or change?

It adds an Agent skills block to CLAUDE.md or AGENTS.md and writes docs under docs/agents/ covering the issue tracker, triage labels and domain docs.

Does Setup repo skills run scripts?

No. The skill is prompt-driven and does not include scripts. It asks the user to confirm choices before writing files.

Can I edit the generated files later?

Yes. The skill says the docs/agents files can be edited directly, and rerunning it is only needed to change trackers or start over.

How do I install Setup repo skills in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/setup-repo-skills to use it in all your projects, or to .claude/skills/setup-repo-skills in one project.

Which AI agents can use Setup repo skills?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Setup repo skills?

The closest alternatives to Setup repo skills are Setup matt pocock skills, Wiki agents md, Create agentsmd, Codebase onboarding and Agentic os.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from oneafrikan/the-grid

  1. Turns a business goal into funded bets, budgets, kill conditions and release gates

    • Open source
    • 5 GitHub stars
    • Productivity
  2. Runs hypothesis-driven funnel experiments to move a growth metric, one variable at a time

    • Open source
    • 5 GitHub stars
    • Marketing and SEO
  3. Coordinates a multi-step dev team: writes PRDs, makes architecture calls, reviews output

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Splits small fixes across specialist agents, merges them, then runs independent QA

    • Open source
    • 5 GitHub stars
    • Developer tools
  5. Lists open GitHub issues grouped by the repo's own severity labels, highest first

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Guides you through using the-grid: which commands, agents and factories to reach for

    • Open source
    • 5 GitHub stars
    • Developer tools