AGENT SKILL

project

project, the rules for every GitHub Project. Use whenever the user wants to create a project, bring one in line with the field set, or when another skill needs a project with Priority and Size. Use it before every `gh project create` you run, even when the user did not name the project skill.

License 许可
MIT
所属仓库
renefatuaki/skills
最近更新
2026-11-11
Stars
★ 0
Forks
0

01 前言 Front Matter

name
project
description
project, the rules for every GitHub Project. Use whenever the user wants to create a project, bring one in line with the field set, or when another skill needs a project with Priority and Size. Use it before every `gh project create` you run, even when the user did not name the project skill.
allowed-tools
Bash(node ${CLAUDE_SKILL_DIR}/scripts/sync-project.mts *)
argument-hint
[project-number | title]
disable-model-invocation
true

02 资源文件 2

03 SKILL.md 正文

Rules for every GitHub Project you create. A project carries the Status, Priority and Size fields of assets/project.json, so the issue skill can set priority and size on every issue, and it is linked to the repository. A project lives under the account or the organization, never in the repository, so every write below runs after confirmation.

Steps

  1. Ensure a user and gh. Every step needs a user who can answer. Without one, stop. Run gh auth status and do nothing else until it reports a logged-in account whose token scopes include project. If gh is missing, install it after confirmation, following GitHub's installation guide. If nobody is logged in, ask the user to run ! gh auth login, wait for them, then run gh auth status again. If the scope is missing, ask the user to run ! gh auth refresh -s project. If the user declines, stop and say what is missing.

  2. Read the owner. gh repo view --json owner,nameWithOwner gives the owner login and the <owner>/<repo> for the title and the link. When the caller or the user named a project, read its fields with gh project field-list <number> --owner <owner> --format json.

  3. Pick the path and confirm it, the owner and the title with the AskUserQuestion tool. The title is the repository name when the request names none.

    • Extend, when a project was named.
    • Create, otherwise.
  4. Create. On Create only. The output carries the number.

    gh project create --owner <owner> --title "<title>" --format json
    
  5. Ensure the fields. Priority and Size, each unless the project has it. Status comes with every project.

    gh project field-create <number> --owner <owner> \
      --name Priority \
      --data-type SINGLE_SELECT \
      --single-select-options Critical,High,Medium,Low
    
    gh project field-create <number> --owner <owner> \
      --name Size \
      --data-type SINGLE_SELECT \
      --single-select-options XS,S,M,L,XL
    
  6. Apply the field set. Run scripts/sync-project.mts, on Create and on Extend alike, with Node 24 or newer, which runs TypeScript directly. ${CLAUDE_SKILL_DIR} is the folder of this file. Write it out in the command, because the shell does not know it. It sets the names, colors and descriptions of Status, Priority and Size from the asset and keeps the value of every item whose option exists under the asset's name. When a field has options beyond the asset, it lists them and stops, because dropping them strips the value from their items, so put the list to the user and run again with --drop only on their word.

    node ${CLAUDE_SKILL_DIR}/scripts/sync-project.mts <number> --owner <owner>
    
  7. Link. On Create and on Extend alike.

    gh project link <number> --owner <owner> --repo <owner>/<repo>
    
  8. Hand over. Reply with the project number and the URL, so the calling skill continues with gh project item-add. Then list what the API cannot set and the user does in the browser, under the project's settings for workflows and in its toolbar for views. Workflows are auto-add, the sub-issue automation and item closed to Done. Views are the six below.

    View Layout Group by Sort Filter
    Backlog Board Status as columns Priority ascending, then Size descending
    Priority board Board Priority, Status as columns
    Team items Table Status
    Roadmap Roadmap
    In Review Table status:"In Review"
    My items Table assignee:@me

Done when the project exists under the owner with Status, Priority and Size carrying every option of the asset, is linked to the repository, the reply names its number, and the user holds the list of settings that stay manual.

04 同仓库更多 Skills

renefatuaki
renefatuaki/skills

why

Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.

★ 0
renefatuaki
renefatuaki/skills

tdd

Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.

★ 0
renefatuaki
renefatuaki/skills

swarm

Fan out N parallel workers, drain them, and return one report. Use for /swarm, 'swarm this', or parallel coverage, races, gauntlets, and exploration.

★ 0
renefatuaki
renefatuaki/skills

show-me-your-work

Keep a reviewable decision trail for long-running or unattended work: a TSV log with one row per decision (what, why, evidence, result). Local by default; commit it when a reviewer needs the trail to trust the result. Use for /show-me-your-work, autonomous or multi-phase runs, or work a human reviews after stepping away.

★ 0
renefatuaki
renefatuaki/skills

interrogate

Use for "interrogate", "adversarial review", "multi-model review", "challenge this", "stress test this code", "find blind spots", or "tear this apart". Multiple LLM reviewers challenge changes from independent angles.

★ 0
renefatuaki
renefatuaki/skills

how

Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which package owns this", "is this the right layer"). Explains subsystem architecture, runtime flow, onboarding mental models. Use why for motivation.

★ 0