Use Gentle AI harness discipline for Pi work: clarify first, track ODD work, use applicable test-first development by default, delegate when useful, and protect review workload.
日本語の概要は準備中です。原文の説明を表示しています。
Create Gentle AI pull requests with issue-first checks. Trigger: creating, opening, or preparing PRs for review.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this skill when:
type:* labelorigin locally (git remote get-url origin) and establish one unambiguous target host and owner/repo. Do not infer the target from the cwd or assume main. Stop if ambiguous.gh auth status or repository metadata. Do not inspect or reuse an ambient SSH agent. Permission for a read does not authorize a write; confirm each remote operation is within the grant.type/description branch only when requested.type:* label.Branch names MUST match this regex:
^(feat|fix|chore|docs|style|refactor|perf|test|build|ci|revert)\/[a-z0-9._-]+$
Format: type/description — lowercase, no spaces, only a-z0-9._- in description.
| Type | Branch pattern | Example |
|---|---|---|
| Feature | feat/<description> | feat/user-login |
| Bug fix | fix/<description> | fix/zsh-glob-error |
| Chore | chore/<description> | chore/update-ci-actions |
| Docs | docs/<description> | docs/installation-guide |
| Style | style/<description> | style/format-scripts |
| Refactor | refactor/<description> | refactor/extract-shared-logic |
| Performance | perf/<description> | perf/reduce-startup-time |
| Test | test/<description> | test/add-setup-coverage |
| Build | build/<description> | build/update-shellcheck |
| CI | ci/<description> | ci/add-branch-validation |
| Revert | revert/<description> | revert/broken-setup-change |
Use the authorized target's .github/PULL_REQUEST_TEMPLATE.md. Fill it from observed evidence, retaining its required sections.
Use the human-selected closing (Closes #N, Fixes #N, or Resolves #N) or nonclosing Refs #N reference. Do not turn Refs into an automatic close. The linked issue MUST have the status:approved label; reuse fresh target-bound verification.
Check exactly ONE in the template and add the matching label:
| Checkbox | Label to add |
|---|---|
| Bug fix | type:bug |
| New feature | type:feature |
| Documentation only | type:docs |
| Code refactoring | type:refactor |
| Maintenance/tooling | type:chore |
| Breaking change | type:breaking-change |
1-3 bullet points of what the PR does.
| File | Change |
|------|--------|
| `path/to/file` | What changed |
Record actual commands and outcomes, including shellcheck on modified scripts, manual testing of affected functionality, and whether changed skills load in at least one agent. Mark inapplicable checks as such; do not invent successful runs.
Do not mark an unverified [x] checkbox. Check each item only after evidence supports it; leave pending items unchecked, including approved issue, exactly one type:* label, applicable shellcheck, skills tested in at least one agent, docs updated if behavior changed, conventional commit format, and no Co-Authored-By trailers. If a template demands every box checked, resolve outstanding items before submission rather than falsely attesting.
type:* label from the authorized target's available labels. A commit-type mapping below is a suggestion, not proof of label availability or permission.size:exception is a Gentle-owned repository policy, not a universal label requirement. Never request, create, or add the label for generic users unless their destination policy uses it. Only when that policy uses size:exception, record the human-selected size:exception rationale if that route was selected; no separate instructor proof is required. Preserve actual policy acceptance gates and apply the protected label only under the same direct-instruction and actor rule. Choosing single-pr does not waive policy gates or label authorization, nor automatically select exception-ok. Do not code-golf or omit tests to meet the budget.Refs), issue approval, exactly one type label and shellcheck where the target requires them. CodeRabbit is optional unless required by target policy. Report required pending or failing checks; never merge on an unverified green claim.Commit messages MUST match this regex:
^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([a-z0-9\._-]+\))?!?: .+
Format: type(scope): description or type: description
type — required, one of: build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test(scope) — optional, lowercase with a-z0-9._-! — optional, indicates breaking changedescription — required, starts after : Type-to-label mapping:
| Commit type | PR label |
|---|---|
feat | type:feature |
fix | type:bug |
docs | type:docs |
refactor | type:refactor |
chore | type:chore |
style | type:chore |
perf | type:feature |
test | type:chore |
build | type:chore |
ci | type:chore |
revert | type:bug |
feat! / fix! | type:breaking-change |
Examples:
feat(scripts): add Codex support to setup.sh
fix(skills): correct branch name guidance
docs(readme): update multi-model configuration guide
refactor(skills): extract shared persistence logic
chore(ci): add shellcheck to PR validation workflow
perf(scripts): reduce setup.sh execution time
style(skills): fix markdown formatting
test(scripts): add setup.sh integration tests
ci(workflows): add branch name validation
revert: undo broken setup change
feat!: redesign skill loading system
Local target inspection may use git remote get-url origin. After explicit target-host read authorization, verify target metadata and the default branch with target-bound gh calls; never use implicit cwd targeting. Run applicable local checks before proposing delivery. Only with separate authorization for the verified destination, operation and credential/session may you push, create or edit a PR. Pass the verified --repo and --base explicitly, and use the human-selected issue-reference form in the body. Do not execute a command block as an automatic workflow.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use Gentle AI harness discipline for Pi work: clarify first, track ODD work, use applicable test-first development by default, delegate when useful, and protect review workload.
日本語の概要は準備中です。原文の説明を表示しています。
Trigger: PRs over 400 lines, stacked PRs, review slices. Split oversized changes into chained PRs that protect review focus.
日本語の概要は準備中です。原文の説明を表示しています。
Design docs that reduce cognitive load. Trigger: writing guides, READMEs, RFCs, onboarding, architecture, or review-facing docs.
日本語の概要は準備中です。原文の説明を表示しています。
Write warm, direct collaboration comments. Trigger: PR feedback, issue replies, reviews, Slack messages, or GitHub comments.
日本語の概要は準備中です。原文の説明を表示しています。
Create and triage GitHub issues from repository evidence. Trigger: issue creation, bug reports, feature requests, or issue approval.
日本語の概要は準備中です。原文の説明を表示しています。
Trigger: judgment day, judgement day, dual review, adversarial review, juzgar. Run explicit blind dual review with at most two scoped fix/re-judgment rounds.
日本語の概要は準備中です。原文の説明を表示しています。