Add a new bashdep:: lifecycle command with TDD
中文简介正在准备中。当前显示原文说明。
Fetch a GitHub issue, create a branch, plan and implement with TDD, then open a PR
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Fetch a GitHub issue, create a branch, implement following TDD, and open a PR.
$ARGUMENTS - Issue number (e.g., 42 or #42)Parse the issue number from $ARGUMENTS (strip # if present).
Fetch issue details:
gh issue view <number> --json title,body,labels,assignees,milestone,state
Assign yourself if unassigned:
gh issue edit <number> --add-assignee @me
Create a branch from main:
Determine prefix from labels:
bug → fix/enhancement → feat/documentation → docs/feat/Branch name: <prefix><issue-number>-<slug> (slug: lowercase title,
spaces → -, max 50 chars).
git checkout main && git pull
git checkout -b <branch-name>
Analyze the issue: requirements, labels, referenced issues,
affected areas (which bashdep:: function or doc).
Explore the codebase for context:
bashdep (single file)tests/unit/bashdep_test.shdocs/api.md or docs/behavior.mdCreate implementation plan:
bashdep, tests/unit/bashdep_test.sh,
docs/*.md, CHANGELOG.md)Use EnterPlanMode if implementation is non-trivial.
Follow strict TDD workflow (see .claude/rules/tdd-workflow.md):
For each test:
bashdep to passRun the suite frequently:
make test
Quality checks after each refactor:
make sa && make lint
Mode coverage - if the change is mutating, add tests for
BASHDEP_DRY_RUN, BASHDEP_SILENT, BASHDEP_VERBOSE,
BASHDEP_FORCE as relevant.
Final verification:
make pre_commit/run
Commit using the /commit skill, with a body referencing the
issue (e.g., Closes #<issue-number>).
Create PR using the /pr skill:
/pr #<issue-number>
After fetching, present:
## Issue #<number>: <title>
**Labels:** <labels>
**State:** <state>
**Branch:** <branch-name>
### Description
<body content>
### Next Steps
1. Explore `bashdep` for the relevant function
2. Create implementation plan
3. Begin TDD cycle
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Add a new bashdep:: lifecycle command with TDD
中文简介正在准备中。当前显示原文说明。
Stage and commit changes using conventional commits format
中文简介正在准备中。当前显示原文说明。
Coverage gap analysis for the bashdep public API plus a bashdep::doctor audit
中文简介正在准备中。当前显示原文说明。
Debug and fix failing bashdep tests systematically
中文简介正在准备中。当前显示原文说明。
Push branch and create a GitHub PR following the bashdep PR template
中文简介正在准备中。当前显示原文说明。
Run a comprehensive pre-release validation checklist for bashdep
中文简介正在准备中。当前显示原文说明。