/ddd-ts-kit:pull-request <number>from ddd-ts-kit
Iterates on a pull request until all checks pass and review comments are resolved, following story rules. Run with /ddd-ts-kit:pull-request <number>.
Ships in ddd-ts-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Pull request: $ARGUMENTS
You work in the worktree of the story the pull request comes from (.ddd-ts-kit/story.json
names it; npx ddd-ts-kit story says where it stands), under the rules of the story skill: the
guard, the locked acceptance, the decisions of the story file. You change the branch only,
never the trunk, and never with a force-push: the history the reviewers read stays. Reading
costs: ../start/token-economy.md.
gh pr view $ARGUMENTS --json url,state,reviewDecision, mergeStateStatus,statusCheckRollup, the unresolved review threads (gh api graphql on the
reviewThreads of the pull request, those with isResolved: false, each with its path, its
line and its comments) and the failing checks (gh pr checks $ARGUMENTS). On GitLab:
glab mr view $ARGUMENTS --comments and the pipeline of the branch.ddd-ts-kit:quality-gate); a run that fails on nothing of the branch is
run again once, and said so in the report;D<n> under ## Decisions of the story file (what, why, the alternatives,
where), do it; a boundary, a new context or a relationship pattern is put to the owner
(AskUserQuestion), never decided here;ddd-ts-kit:deviation; declined, with the reason in the reply, unless the
owner agrees in writing in the thread;## Findings of docs/architecture/reviews/<story>.md with
its outcome, as the close of the story does.npm run verify and
npx ddd-ts-kit story --gate close. Commit, git push (never --force), then
gh pr checks $ARGUMENTS --watch.
After each push, the digest of the branch as it now stands goes at the top of the body:
npx ddd-ts-kit digest --base <base> (<base> the base of .ddd-ts-kit/story.json), its
output pasted as printed under ## Digest, the first section of the body, in place of the
one there (gh pr view $ARGUMENTS --json body, then gh pr edit $ARGUMENTS --body-file <file>; on GitLab glab mr update $ARGUMENTS --description), and under ### Digest of
## Report in the story file, committed with the next change: the reviewer reads what the
branch changes before its diff.reviewDecision no longer CHANGES_REQUESTED. A round that
changed nothing ends the loop: report what blocks.Thread by thread and check by check: what was changed, with its commit; what was declined and
why; each D<n> added; what still waits on the owner. The decisions new to this loop are
appended to ## Report of the story file in the branch, so that the record stays the body of
the pull request. Then stop.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ddd-ts-kit/ddd-ts-kit --plugin ddd-ts-kit26 skills in this plugin
/access-controlUse when adding a permission, a role or an ownership rule, when code needs the connected user or the tenant, when filtering a list by rights, or on an authz/* rule. Authentication, authorization, access scopes, policies, RBAC, ABAC, ReBAC./bootstrapChooses the stack and creates the project with the ddd-ts-kit CLI: config, platform, database, pipeline, contexts, in an empty directory or an existing backend. Run by the user with /ddd-ts-kit:bootstrap./bounded-contextsUse when cutting a system into bounded contexts, when a concept has no home, a context grows two vocabularies or too large, two contexts need each other, or on boundaries, subdomains, sub-contexts, modules, splitting or merging contexts. Core, supporting or generic./clean-codeUse when a clean/*, purity/* or language/* rule is reported, or when asked to clean, simplify, rename or make code more readable: business names, small functions, stepdown order, comments only for what code cannot say, no escape hatches, Clock, IdGenerator./commit-disciplineUse when about to commit, when asked to commit, to write a commit message or to split a change, or when the guard reports too many uncommitted changes. One use case or concept per commit, messages scoped by context./context-mapUse when two contexts depend on each other, a context needs data or a reaction from another, when choosing upstream, downstream and pattern (customer-supplier, conformist, anti-corruption layer, open-host service, shared kernel, published language), or on context/* rules.Other plugins' skills for the same job