From beaver
Create a Beaver-tracked GitHub Issue (Goal/Task/SubTask) with Project V2 field setup and tracking rules. Trigger this skill whenever the user wants to create a GitHub issue.
How this skill is triggered — by the user, by Claude, or both
Slash command
/beaver:create-beaver-issueThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a single Beaver-tracked GitHub Issue (Goal / Task / SubTask) with automatic Project V2 field setup and tracking rule configuration. The wizard collects issue details, builds a structured body with a `beaver-tracking` comment block, creates the issue via `gh api`, adds it to the Project V2, sets Level/Status/Progress fields, and links to the parent issue via GitHub's native sub-issues if ...
Create a single Beaver-tracked GitHub Issue (Goal / Task / SubTask) with automatic Project V2 field setup and tracking rule configuration. The wizard collects issue details, builds a structured body with a beaver-tracking comment block, creates the issue via gh api, adds it to the Project V2, sets Level/Status/Progress fields, and links to the parent issue via GitHub's native sub-issues if applicable.
gh auth status must succeed (run gh auth login if not)gh auth refresh -s project if missing)```yaml beaver-config block with repositories and issueRepoCheck auto memory for beaver-issue-defaults.md. If found, present batch confirmation and allow the user to confirm, edit, or reset. Expected format:
project: primatrix/4
trackingRepos:
- ant-pretrain
- pallas-kernel
milestone: 1
milestoneTitle: "Week 1 (Mar 17 - Mar 23)"
org/number or URL), run gh project view {number} --owner {org} --format json, extract readme and id (project node ID). Parse beaver-config YAML block from the README for repositories, issueRepo, and optional customFields.gh project item-list, filter by parent level, let user pick.repositories list (pre-check remembered defaults), optionally add paths and keywords. Goal issues use child rollup.gh api repos/{org}/{issueRepo}/milestones, let user pick or skip.## 目标
{structured description}
## 验收标准
{acceptance criteria}
## 目标
{structured description}
## 验收标准
{acceptance criteria}
<!-- beaver-tracking
repos:
- {repo1}
- {repo2}
paths:
- {path1}
keywords:
- {keyword1}
- {keyword2}
-->
Create issue:
gh api repos/{org}/{issueRepo}/issues --method POST \
-H "X-GitHub-Api-Version: 2026-03-10" \
-f title="{title}" --raw-field body="$(cat "$BODY_FILE")" \
-f type="{level}" -f "labels[]=Control-By-Beaver"
Add -f milestone={number} if a milestone was selected. The X-GitHub-Api-Version: 2026-03-10 header is required for the type field to be recognized. If issue type API fails (e.g., org plan does not support issue types), retry without -f type and warn the user that the issue type was not set.
Add to project and set fields:
gh project item-add {projectNumber} --owner {org} --url {issue_url} --format json
gh project field-list {projectNumber} --owner {org} --format json
gh project item-edit --id {item_id} --project-id {project_id} \
--field-id {level_field_id} --single-select-option-id {level_option_id}
gh project item-edit --id {item_id} --project-id {project_id} \
--field-id {status_field_id} --single-select-option-id {not_started_option_id}
gh project item-edit --id {item_id} --project-id {project_id} \
--field-id {progress_field_id} --number 0
Link to parent (Task/SubTask only): Use GitHub's native sub-issues API to establish the parent-child relationship.
# Get the internal issue ID of the newly created child issue
CHILD_ID=$(gh api repos/{org}/{issueRepo}/issues/{new_issue_number} --jq '.id')
# Add as sub-issue of the parent
gh api repos/{org}/{issueRepo}/issues/{parent_number}/sub_issues \
--method POST -H "X-GitHub-Api-Version: 2026-03-10" \
-f sub_issue_id="$CHILD_ID"
beaver-issue-defaults.md (project, trackingRepos, milestone, milestoneTitle).npx claudepluginhub primatrix/skills --plugin beaverCreates GitHub issues via gh CLI/API, sets types (Bug/Feature/Task), links subissues, copies parent milestones/project fields. For repo issue management.
Routes and creates GitHub issues by matching task descriptions to target repos from a routing config. Checks for duplicates and applies W-labels from weekly planning.
Creates well-structured GitHub issues using gh CLI with templates for bugs, features, tasks including titles, descriptions, acceptance criteria, and labels. Use for filing bugs or feature requests.