What problem does it solve?
This Skill prevents agents from making repository changes based on stale, incomplete, or conflicting context by verifying the branch, worktree, ticket, dependencies, required documents, and unresolved obligations first.
Core Features & Use Cases
- Repository State Validation: Check branch identity, worktree status, dirty files, and repository context before any change-making operation.
- Dependency and Documentation Checks: Confirm ticket readiness, dependency ancestors, architecture guidance, engineering principles, Git strategy, and recent decisions.
- Safe Decision Gates: Stop when context cannot be evaluated, distinguish facts from assumptions, and identify the next safe action.
- Use Case: Before implementing a ticket in a shared repository, run a preflight to detect an unsuitable branch, uncommitted work, missing dependencies, or unresolved requirements before editing files.
Quick Start
Ask the context-preflight skill to verify the current project context before implementing the assigned ticket and report whether work can safely proceed.