AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Repo Init

skill-steveu-skills-repo-init · by steveu

Apply a canonical issue-label set to a GitHub repo (six labels — bug, feature, refactor, chore, afk, hitl — with consistent colours and descriptions) and strip GitHub's OSS-community defaults. Use after creating a new repo, or to bring an existing repo's labels in line. Auto-detects the current repo, or accepts `owner/name` as an argument. Idempotent — safe to re-run.

No reviews yet
0 installs
38 views
0.0% view→install

Install

$ agentstack add skill-steveu-skills-repo-init

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-steveu-skills-repo-init)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Repo Init? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

repo-init

Apply a canonical issue-label set to a GitHub repo. This file is the source of truth — edit it to evolve the scheme, then re-run on affected repos to bring them in line.

Scope

  • Yes: issue labels (create/update the six canonical ones, remove the seven OSS defaults).
  • No: issue templates. Those flow automatically from the owner's .github repo and need no per-repo action.
  • No: repo creation itself. Run gh repo create first.

Usage

Inside a repo:

/repo-init

Target auto-detected via gh repo view.

Targeting another repo:

/repo-init owner/name

Canonical labels

| Name | Colour | Description | | ---------- | --------- | ------------------------------------------------------- | | bug | d73a4a | Something isn't working | | feature | a2eeef | A capability someone gains | | refactor | bfd4f2 | Internal quality — same behaviour, better shape | | chore | ededed | Mechanical maintenance — deps, config, infra | | afk | 0e8a16 | Agent can ship this end-to-end without human input | | hitl | fbca04 | Needs human judgement — architecture, design, or policy |

Type vs workflow. bug / feature / refactor / chore are mutually-exclusive types — one per issue. afk / hitl are orthogonal, tagging who can pick up the issue.

OSS defaults to remove

GitHub ships every new repo with these. Mostly noise for small-team / agent-driven workflows:

  • documentation
  • duplicate
  • good first issue
  • help wanted
  • invalid
  • question
  • wontfix

Removing a label strips it from any existing issues that have it. For a brand-new repo there won't be any.

Process

  1. Resolve target. If an argument was passed (owner/name), use it. Otherwise: gh repo view --json nameWithOwner --jq .nameWithOwner from the current directory.
  2. Apply canonical labels. For each row in the table: gh label create -R --color --description "" --force. The --force flag updates colour/description if the label already exists.
  3. Strip OSS defaults. For each: gh label delete -R --yes. Ignore not-found errors (label may already be absent).
  4. Sibling check. Run gh repo view /.github >/dev/null 2>&1 — if absent, flag once that the owner has no .github repo and issue templates won't auto-populate. Don't create it; that's a separate decision.
  5. Summary. Print one line: target repo, count of labels set, count of labels removed.

Reference implementation

TARGET="${1:-$(gh repo view --json nameWithOwner --jq .nameWithOwner)}"
OWNER="${TARGET%%/*}"

CANONICAL=(
  "bug|d73a4a|Something isn't working"
  "feature|a2eeef|A capability someone gains"
  "refactor|bfd4f2|Internal quality — same behaviour, better shape"
  "chore|ededed|Mechanical maintenance — deps, config, infra"
  "afk|0e8a16|Agent can ship this end-to-end without human input"
  "hitl|fbca04|Needs human judgement — architecture, design, or policy"
)
DEFAULTS=(documentation duplicate "good first issue" "help wanted" invalid question wontfix)

set_count=0; rm_count=0
for line in "${CANONICAL[@]}"; do
  IFS='|' read -r name color desc /dev/null && ((set_count++))
done
for label in "${DEFAULTS[@]}"; do
  gh label delete "$label" -R "$TARGET" --yes >/dev/null 2>&1 && ((rm_count++))
done

gh repo view "$OWNER/.github" >/dev/null 2>&1 || \
  echo "Note: $OWNER has no .github repo — issue templates won't auto-populate."

echo "$TARGET: $set_count labels set, $rm_count removed."

Notes

  • Personal GitHub accounts have no org-level default-labels feature, so this skill is the only way to bootstrap them.
  • Organisations do have native default labels (Settings → Repository defaults → Labels), but keeping the spec in this file avoids splitting it between an org-settings UI and a tracked file.
  • The label scheme pairs with the AFK / HITL tag in tracer's vertical-slice template — applying the label promotes that body-level judgement into a board-filterable signal.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.