shynlee04/hivemind-plugin/context-first-gatekeeping
Claude Code and agent skill by shynlee04/hivemind-plugin
- community
Checking that the SKILL.md file is still in the repository.
The absolute gatekeeping factor for app development success. Context-first, never act without verified planning, unbroken hierarchy chains, and domain boundaries enforced.
Install
npx vskill@latest install shynlee04/hivemind-plugin/context-first-gatekeepingSKILL.md
<EXTREMELY-IMPORTANT> This is the absolute gatekeeping factor. NEVER ACT WITHOUT SUCCESS RETRIEVAL OF PLANNING. Skipping this gatekeeping is the #1 cause of app development failures. </EXTREMELY-IMPORTANT>
Context-First Gatekeeping Skill
The Prime Directive
NEVER ACT WITHOUT SUCCESS RETRIEVAL OF PLANNING
This is the absolute gatekeeping factor that determines whether app development succeeds or fails.
The Five Pillars
Pillar 1: Context-First Protocol
Before ANY action:
- Load context (
scan_hierarchy) - Recall relevant memories (
recall_mems) - Check anchors for constraints (
list_anchors) - Verify chain integrity (
think_back)
Pattern:
NEVER: Assume, guess, or "I think I remember..."
Pillar 2: Parent Hierarchy Must Exist
Unbroken chain requirement:
Validation:
Pillar 3: Never Act Without Verified Planning
Planning must be retrieved, not assumed:
Pillar 4: Domain Boundaries Enforced
Never cross domains without explicit approval:
| Domain | Allowed Paths | Forbidden Paths | |
|---|---|---|---|
| Backend | src/lib/, src/tools/, src/schemas/, src/hooks/ | src/dashboard/, src/views/ | |
| Frontend | src/dashboard/, src/views/, src/components/ | src/lib/, src/tools/, src/schemas/ | |
| Shared | src/types/, src/utils/, tests/ | None (can cross) |
Validation:
Pillar 5: Context-Purified State
After context compaction, NEVER trust memory:
The Gatekeeping Checklist
Before ANY implementation action:
Failure Escalation Protocol
When a gate fails:
Level 1: Auto-Recoverable
- Missing tactic →
map_context({ level: "tactic" }) - High drift →
think_back({ mode: "full" })
Level 2: User Guidance Needed
- No plan found → Ask user to provide/confirm plan
- Domain violation → Ask user for cross-domain approval
Level 3: Critical - Stop Chain
- No trajectory → Must
declare_intent(new session) - Broken chain → Must manually repair hierarchy
Integration with Sequential Orchestration
This skill is the first step in sequential-orchestration:
Red Flags - Immediate Stop
| Red Flag | Meaning | Required Action | |
|---|---|---|---|
| "I think..." | Assumption, not verified | STOP, verify with recall_mems | |
| "Let me just..." | Bypassing gatekeeping | STOP, run gatekeeping checklist | |
| "Probably works" | No verification | STOP, run quality gates | |
| "I'll fix later" | Leaving broken chain | STOP, fix now before proceeding | |
| "Crossing to other domain" | Boundary violation | STOP, get approval or reroute |
Quick Commands
Gatekeeping Flow Diagram
This skill is a companion to `hivemind-governance` and must be loaded BEFORE any implementation work begins.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/context-first-gatekeeping/SKILL.md
Popularity
- Repository stars
- 53
- Repository forks
- 18
- Repository npm downloads, 7 days
- 4
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 8 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shynlee04/hivemind-plugin/context-first-gatekeeping)