Bootstrap issue config

From warpdotdev/oz-for-oss · View interactive version

Bootstrap issue config is an AI agent skill from the GitHub repository warpdotdev/oz-for-oss. Bootstrap the issue triage configuration for a repository by analyzing existing issues, labels, and contributors to generate `.github/issue-triage/config.json` and `.github/STAKEHOLDERS`. Use when setting up triage automation on a new or existing repository for the first time.

How to use this skill

Skill file

Bootstrap issue triage configuration

Analyze the target repository and generate (or update) the issue triage configuration files used by the triage-new-issues workflow.

Outputs

This skill produces two files:

  1. .github/issue-triage/config.json — label definitions used during triage.
  2. .github/STAKEHOLDERS — CODEOWNERS-style ownership mappings from path patterns to GitHub usernames.

Workflow

1. Discover existing labels

2. Analyze recent issues

3. Generate or update `config.json`

4. Generate or update `.github/STAKEHOLDERS`

```

# Syntax follows CODEOWNERS conventions: later rules take precedence.

# NOTE: This file is advisory only — GitHub does not enforce it.

# --- Section comment ---

/path/pattern/ @owner1 @owner2

```

5. Create missing labels

```

gh label create "<name>" --color "<color>" --description "<description>" --repo <owner>/<repo>

```

6. Note repo-local companion skills (do not scaffold)

The reusable agent roles that support a repo-specific companion are:

Do not create these files during bootstrap. The prompt-construction layer treats a missing companion file and a body-only frontmatter stub the same way, so there is no value in materializing an empty file during bootstrap. Each file gets created on-demand by the matching update-<agent> self-improvement loop (or by a maintainer) the first time there is evidence-backed content to add. Bootstrap only needs to ensure the directory convention is documented; the files themselves stay absent until a real rule lands.

If a companion file already exists in the repo, leave it untouched; bootstrap is additive.

7. Validate and summarize

Idempotency

This skill is designed to be run multiple times safely. Re-running will:

Assumptions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.