Loading...
Loading...
Use this when the user provides a PingCode work item identifier (such as #ABC-42) and asks to develop, fix, implement, or continue a task, or explicitly requests branching, committing, opening a PR, merging, or reviewing according to #identifier. It integrates a PingCode work item-driven workflow with Conventional Commits, squash merging, and documentation capture under docs/, and depends on the use-pingcode-cli skill. Do not trigger for ordinary tasks without a work item identifier.
npx skill4agent add pingcode-org/pingcode-skills workitem-driven-development#<Identifier>#ABC-42use-pingcode-clipcpcuse-pingcode-clireference.mddevelopmaincommitpushreset --hardrestoreclean -fdstash droppush --force*docs/#<Identifier>#ABC-42#pcABC-42#use-pingcode-clipc doctorpc whoami --jsonidentity.user.nameidentity.user.idcurrent userREPO_NAME="$(basename "$(git rev-parse --show-toplevel)")"pc pjm workitem get ABC-42getpc pjm workitem list --identifier <number>--project-idpc pjm workitem list --project-id <pid> --identifier <n>pc comments list --principal-type workitem --principal-id <工作项id>idproject.idtype.idstate.idassignee.idparent_idparent_idpc pjm workitem list --project-id <项目ID> --parent-id <工作项ID>pc pjm workitem-relation list <工作项ID>pc pjm workitem-type list-for-project --project-id <项目ID>storybugFeature Breakdown Processreference.mdOpenPendingpc pjm workitem-state list-for-project --project-id <pid> --workitem-type-id <type-id>In ProgressIn Progresswork item state cannot transition to its current statepc pjm workitem update <工作项id> --data '{"assignee_id":"<当前用户ID>"}'
pc pjm workitem update <工作项id> --data '{"state_id":"<进行中状态ID>"}'getTask-1.[@<用户ID>|<登录名>]pc organization user list@登录名git rev-parse --abbrev-ref HEAD # 应在集成分支
git status --porcelain # 应为空
git fetch origin
git pull --ff-only # 落后时
git checkout -b '#ABC-42/(feat)user-login'#<Identifier>/(<type>)<kebab-summary>#ABC-42/(feat)user-login#ABC-42/(fix)retry-timeout/#git check-ref-format --branch '<name>'git statusgit diff<type>[optional scope]: <description>feat: #ABC-42 user-loginfeat(auth): add login form<type>: #<Identifier> <summary>feat: #ABC-42 user-logingit push -u origin <branch>gh pr merge <n> --squash --delete-branch--merge--rebase--auto--adminBEHINDgit fetch originorigin/<integration-branch>--admingit push --force-with-leaseMERGEDgit pull --ff-onlyFixedCompleted#<Identifier><temp-dir>/${REPO_NAME}-pr<n>PassRejectUncertaindocs/| Directory | Contents |
|---|---|
| Product goals, users and scenarios, requirements, and interaction decisions |
| Cross-package or cross-component architecture and technical decisions; |
| New developer onboarding guides, operation manuals, and troubleshooting guides |
| Decision records that need long-term retention (ADRs) |
README.mddocs/src/docs/| Type | Destination | Committed? |
|---|---|---|
| Re-discoverable reference data (IDs, name mappings, state values) | Local cache, for reference only | No |
| Team-valuable lessons, conclusions, and troubleshooting patterns | Ask the user, then write to | Yes |
| Task process information (clarifications, progress, summaries) | Work item comments | No |
REPO_NAME="$(basename "$(git rev-parse --show-toplevel)")"
CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/$REPO_NAME"fetchedAt