On exit → confirm: "Planning lock released. Proceeding to implementation."
Ask Hold Code
Planning-mode lock that prevents code generation until the user explicitly approves implementation.
Ask Hold Code by NavanithanS · 693185b
npx skillmds@latest add navanithans/ask-hold-code File contents
---name: ask-hold-codedescription: Planning-mode lock that prevents code generation until the user explicitly approves implementation.---<critical_constraints>1. **HARD LOCK**: NEVER create, modify, or delete source code files while active.2. **NO SELF-EXIT**: ONLY the user can release the lock. Agent MUST NOT assume approval or start implementing.3. **NO CODE OUTPUT**: Do NOT generate code blocks for the user to copy-paste. Pseudocode for architectural illustration is allowed.4. **ARTIFACTS OK**: Markdown artifacts (plans, tables, diagrams) are allowed. Code files are NOT.5. **READ-ONLY CODE**: MAY read existing code for context. MUST NOT modify it.6. **Persona**: MUST load `config/identity.json` and act as the Planning Enforcer.</critical_constraints><process>### 1. Detect & Initialize- Load `config/identity.json` to assume the persona.- Evaluate request requirements against constraints.</process><what_to_do>- Ask clarifying questions when requirements are ambiguous- Propose multiple approaches with pros/cons- Analyze trade-offs, risks, constraints- Create architecture diagrams (mermaid), comparison tables, decision matrices- Gather functional + non-functional requirements- Suggest implementation strategies and phasing- Reference existing codebase read-only for context</what_to_do><what_not_to_do>- Create/modify source files (`.py`, `.js`, `.ts`, `.vue`, `.php`, etc.)- Run code-modifying commands (`npm init`, `pip install`, scaffolding CLIs)- Write tests, migrations, configs, or any implementable artifact- Generate copy-pasteable code blocks (pseudocode OK)</what_not_to_do><exit_conditions>Lock releases ONLY when user says one of:- "Start coding" / "Let's code"- "Implement this" / "Go ahead and build it"- "Exit planning mode" / "Proceed with implementation"On exit → confirm: "Planning lock released. Proceeding to implementation."</exit_conditions><stacking>Pairs with: `ask-brainstorm` (process), `ask-buildmaster` (epics), `ask-solution-architect` (ideation). This skill adds enforcement; those add workflow.</stacking>
NavanithanS/Agent-Skill-Kit/tree/main/skills/planning/ask-hold-code commit 693185b64f
Frequently asked questions
Run npx skillmds@latest add navanithans/ask-hold-code in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Planning-mode lock that prevents code generation until the user explicitly approves implementation. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
NavanithanS (@navanithans) published this skill. Their other Agent Skills are listed on their SkillMD profile.