一键导入
commit-splitting
Keep commits atomic — split a mixed change set into scoped, reviewable commits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Keep commits atomic — split a mixed change set into scoped, reviewable commits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
The one-time procedure to take an exported project to live — understand it, confirm the name/goal/stack with the user, run the deterministic `aspis bootstrap`, enrich the judgment files (AGENTS.md, ARCHITECTURE, context), verify, and let the package self-clean. Followed by the bootstrap agent.
Keep per-subsystem architectural intent current through the planning loop — read before designing, record an impact report on change, confirm with the user, apply a dated update, and verify the build against approved intent.
Audit a plan's task dependency graph for structural integrity — circular dependencies, missing prerequisites, orphan tasks, and dependency classification (hard/soft/warning). Produces a pass/warn/fail audit report per dependency so planners catch graph errors before build starts.
Every editing agent should start on a clean working tree so parallel work never collides.
Verify hooks ran, no secrets, protected paths untouched, and commit message valid before committing. Owned by the reviewer.
Prove the catalog regenerates the live runtime byte-for-byte; refuse export on any mismatch.
| name | commit-splitting |
| description | Keep commits atomic — split a mixed change set into scoped, reviewable commits. |
One commit = one logical change. A change that mixes concerns (source + tests + docs + config) is hard to review and to revert. Split it.
Split by lane first (F-022 two-git), then by concern. A change set can span two git histories, and each commits to its own repo:
git status --short
src/, tests/, docs, root guides) → aspis commit (product repo)..aspis/ — plans, decisions, context) → aspis brain commit
(the shadow repo). Never fold brain paths into an aspis commit..opencode/, .claude/) → never commit (catalog-rendered).Then, within a lane, bucket the files by concern (source area / tests / docs / config) and decide if the set is already one logical change. If it is, commit it as one unit.
For each group, make one commit with the named paths only — aspis commit stages
exactly those paths (never -A):
aspis commit <paths-for-this-group> --type <type> --task <T-NN> \
--title "<scoped title>" --bullet "<what>"
Repeat until the tree is clean.
git add -A across concerns; name the paths for each commit.T-NN..T-MM (see the
commit-message skill); never label a multi-task commit with only its first task.