Workflow Context Gate
Use this skill before acting on workflows where the agent should carry a
specific checklist, memo, or operating discipline for the duration of the task.
The goal is focused context, not prompt bloat: keep broad identity and style in
the preamble, and load workflow-specific rules only when the task needs them.
When to Use
Invoke this skill when the task involves one or more of these signals:
- release, version bump, packaging, publishing, or updater assets
- hotfix triage, bugfix batching, changelog ledger updates
- database migrations, schema changes, backfills, or data repair
- website deploys or public download links
- GitHub repository maintenance, pull requests, tags, or CI repair
- external-visible actions such as posting, emailing, or uploading
- destructive or hard-to-rollback operations
Preflight
- Name the workflow in one phrase.
- Find the relevant checklist, memo, or registry entry.
- Read only the files needed for this workflow.
- State the action boundary: what will be changed, what will not be changed.
- Run the workflow-specific preflight checks before editing or publishing.
If no checklist exists, create a short local checklist in the working notes
before acting. Do not treat an absent checklist as permission to improvise on a
high-risk task.
During the Workflow
- Keep the loaded context narrow.
- Prefer reversible steps first.
- Verify before declaring completion.
- Do not skip safety checks to make a release, migration, or deploy pass.
- Ask for explicit authorization before any external-visible action unless the
user already authorized that exact action in the current turn.
After Action
Before closing the task, decide whether the action created a durable obligation:
CHANGELOG.md or release notes update
- checklist or runbook update
- migration note or rollback instruction
- public download link verification
- issue, PR, or tag status update
- memory capture for future similar work
If the task fixed a reusable workflow hazard, update the checklist rather than
leaving the lesson only in chat history.
Registry Pattern
Projects can keep an editable registry file such as
identity/WORKFLOW-CONTEXT-GATES.example.json:
{
"release": {
"triggers": ["release", "tag", "package", "publish"],
"required_context": ["RELEASE-CHECKLIST.md"],
"preflight": ["confirm scope", "promote changelog", "build all platforms"],
"postflight": ["verify remote assets", "verify website download links"]
}
}
The registry is guidance for the agent. It does not need to be a hard runtime
gate to be useful.
1---2name: workflow-context-gate3description: Load the right operational context before high-risk or repeatable workflows such as releases, hotfixes, migrations, deploys, repository maintenance, or external publication. Use when a task has an established checklist, ledger, safety boundary, or post-action verification step.4---56# Workflow Context Gate78Use this skill before acting on workflows where the agent should carry a9specific checklist, memo, or operating discipline for the duration of the task.1011The goal is focused context, not prompt bloat: keep broad identity and style in12the preamble, and load workflow-specific rules only when the task needs them.1314## When to Use1516Invoke this skill when the task involves one or more of these signals:1718- release, version bump, packaging, publishing, or updater assets19- hotfix triage, bugfix batching, changelog ledger updates20- database migrations, schema changes, backfills, or data repair21- website deploys or public download links22- GitHub repository maintenance, pull requests, tags, or CI repair23- external-visible actions such as posting, emailing, or uploading24- destructive or hard-to-rollback operations2526## Preflight27281. Name the workflow in one phrase.292. Find the relevant checklist, memo, or registry entry.303. Read only the files needed for this workflow.314. State the action boundary: what will be changed, what will not be changed.325. Run the workflow-specific preflight checks before editing or publishing.3334If no checklist exists, create a short local checklist in the working notes35before acting. Do not treat an absent checklist as permission to improvise on a36high-risk task.3738## During the Workflow3940- Keep the loaded context narrow.41- Prefer reversible steps first.42- Verify before declaring completion.43- Do not skip safety checks to make a release, migration, or deploy pass.44- Ask for explicit authorization before any external-visible action unless the45 user already authorized that exact action in the current turn.4647## After Action4849Before closing the task, decide whether the action created a durable obligation:5051- `CHANGELOG.md` or release notes update52- checklist or runbook update53- migration note or rollback instruction54- public download link verification55- issue, PR, or tag status update56- memory capture for future similar work5758If the task fixed a reusable workflow hazard, update the checklist rather than59leaving the lesson only in chat history.6061## Registry Pattern6263Projects can keep an editable registry file such as64`identity/WORKFLOW-CONTEXT-GATES.example.json`:6566```json67{68 "release": {69 "triggers": ["release", "tag", "package", "publish"],70 "required_context": ["RELEASE-CHECKLIST.md"],71 "preflight": ["confirm scope", "promote changelog", "build all platforms"],72 "postflight": ["verify remote assets", "verify website download links"]73 }74}75```7677The registry is guidance for the agent. It does not need to be a hard runtime78gate to be useful.