1.9 KiB
1.9 KiB
| name | description | triggers | auto_invoke | |||
|---|---|---|---|---|---|---|
| core-bootstrap | Mandatory statelessness compensation, workspace hygiene, clean-baseline setup, smoke test, and recent handoff check for CORE. Auto-invoked on session/subagent start. |
|
true |
Execute the full Session Start Checklist from GROK.md in strict order, including the Workspace Hygiene + Branch/Worktree Protocol:
- Read GROK.md in full.
- Read AGENTS.md in full.
- Read docs/runtime_contracts.md in full.
- Confirm project root:
pwdgit rev-parse --show-toplevel- verify
GROK.mdandAGENTS.mdexist.
- Inspect local state before any branch movement:
git status --short --branchgit diff --statgit diff --name-statusgit diff --cached --name-statusgit stash listgit worktree list
- If dirty, classify every changed or untracked file before switching branches. Unknown work must be preserved with a descriptive stash, not destroyed.
- Fetch current repository state:
git fetch origin --prune
- If starting new work, establish clean current main:
git switch maingit pull --ff-only origin main
- For non-trivial implementation, create a fresh worktree from
origin/mainunless the user explicitly requests same-worktree work. - Run
core test --suite smoke -qand report pass/fail. If unavailable, report the exact failure and use repo-native pytest lanes. - Check for and read any
HANDOFF-*-YYYY-MM-DD.mdfrom the last 3 days. - Check recent open PRs if local changes or task continuity are ambiguous:
gh pr list --state open --limit 20gh pr status
- State task scope in one clear sentence before any further action.
This skill must complete successfully before any editing, proposal, or subagent work. It is non-bypassable for Grok 4.3 / Grok Build sessions on CORE.