Agentic Coding Discipline
Working discipline for agentic coding sessions, distilled from Claude Code's official best-practices doc: close the loop with runnable verification (tests, /goal, Stop hooks, adversarial review subagents), separate explore/plan/code phases, keep CLAUDE.md lean, choose permissions/sandboxing deliberately, manage context aggressively (/clear, /compact, checkpoints), and scale with fan-out and agent teams. Use at the start of any non-trivial coding-agent session, when configuring an agent environment, or when a session shows drift, bloat, or unverified "done" claims.
Install
npx skills add Archive228/lab-skills --skill agentic-coding-disciplinegit clone --depth 1 https://github.com/Archive228/lab-skills.git /tmp/lab-skills
mkdir -p ~/.claude/skills
cp -r /tmp/lab-skills/skills/agentic-coding-discipline ~/.claude/skills/agentic-coding-disciplinePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Agentic Coding Discipline Operating procedure for long or autonomous coding sessions, distilled from Claude Code's living best-practices doc. Core premise: the context window is the most important resource to manage — it holds every message, file read, and command output, and LLM performance degrades as it fills. Every rule below either closes a verification loop so mistakes don't wait for a human, or protects context so quality doesn't decay mid-session. Mechanisms marked **[CC]** are Claude-Code-specific; the principles generalize to any coding agent. ## When to use - Starting any coding task expected to span multiple files, multiple turns, or unattended time. - Setting up a repo or environment for agent work (CLAUDE.md, permissions, hooks, verification scripts). - Batch/migration work across many files, or coordinating parallel sessions. - Mid-session symptoms: repeated corrections on the same issue, context filling with irrelevant reads, "looks done" claims without evidence. Do NOT apply the full ceremony to trivial edits: for a typo fix, a log line, or a rename — anything whose diff you could describe in one sentence — skip planning and do it directly. Vague, exploratory prompts are also legitimate when the goal is to see how the problem gets interpreted before constraining it. ## Rules ### Verification loops
Details
- Skill name
agentic-coding-discipline- Repository
- Archive228/lab-skills
- Path
skills/agentic-coding-discipline/SKILL.md- License
- MIT
- Repo updated
- 12 August 2026
FAQ
What does the Agentic Coding Discipline skill do?
Working discipline for agentic coding sessions, distilled from Claude Code's official best-practices doc: close the loop with runnable verification (tests, /goal, Stop hooks, adversarial review subagents), separate explore/plan/code phases, keep CLAUDE.md lean, choose permissions/sandboxing deliberately, manage context aggressively (/clear, /compact, checkpoints), and scale with fan-out and agent teams. Use at the start of any non-trivial coding-agent session, when configuring an agent environment, or when a session shows drift, bloat, or unverified "done" claims.
How do I install the Agentic Coding Discipline skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add Archive228/lab-skills --skill agentic-coding-discipline. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Agentic Coding Discipline popular?
It lives in Archive228/lab-skills, which has 10 GitHub stars and 2 forks.
Related skills
Agent Design Fundamentals
10Archive228/lab-skills
Decision rules for whether to build an LLM agent and how to architect it, distilled from OpenAI's "A Practical Guide to Building Agents": build/no-build criteria, model selection, tool design, single-agent vs multi-agent orchestration (manager pattern vs decentralized handoffs), layered guardrails, and human-in-the-loop triggers. Use when designing, reviewing, or refactoring an agent system — before choosing an architecture, adding more agents, defining tools, or shipping an agent to production without guardrails.
Agent Evals
10Archive228/lab-skills
Build and maintain evaluation suites for AI agents: bootstrap 20-50 tasks from real failures, pick code-based vs model-based vs human graders by agent architecture (coding, conversational, research, computer-use), write unambiguous tasks with reference solutions, and keep suites alive via ownership and transcript reading. Use when creating evals from zero, adding graders or eval cases, debugging suspicious eval scores, or deciding pass@k vs pass^k metrics for an agent product.
Agent Failure Preflight
10Archive228/lab-skills
Pre-deployment failure-mode gate for agentic AI systems, distilled from Microsoft AI Red Team's Taxonomy of Failure Modes in Agentic AI Systems v2.0 (grounded in 12 months of red-team engagements). Run it before shipping or materially changing an agent — adding tools/MCP servers/plugins, enabling persistent memory, adding sub-agents or orchestration, enabling computer use, or expanding permissions — to verify concrete controls against memory poisoning, HitL bypass, goal hijacking, supply-chain compromise, session context contamination, capability disclosure, and multi-agent cascade failures.
AI Ready
9kargnas/skills
Use only when the user asks to make the repo AI-ready or AI-optimized (AGENTS.md migration, debugging/testing setup, docs). Do not run on your own.
Agent Sessions
9vladmdgolam/agent-skills
Search, list, and resume AI agent sessions across Claude Code, Codex CLI, Gemini CLI, opencode, Hermes Agent, and Cline CLI. Use when the user asks to find a past conversation, search session history, resume a previous session, list recent agent activity, or check what was discussed in a prior session. Also use when asked to "find that conversation where I...", "resume my last codex session", "read latest convo", "read last messages", "what did I work on yesterday", "search my claude history for X", or gives an agent session id such as `ses_...`, a UUID, or a Cline id like `1782988565588_qqrxi
AI Resume Generator
5haorenhao58-sketch/ai-resume-generator
一键生成互联网AI方向简历的通用工具。当用户提到'生成简历''写简历''AI简历''求职简历''更新简历',或提到想投递AI产品经理、AI运营、AI工程师、AI商业化、Prompt Engineer、LLM应用、AIGC等AI相关岗位时触发。也适用于用户说'帮我整理项目经历''优化简历表述''简历润色'等场景。该skill通过深度引导候选人输入个人信息与项目细节,运用'问题→方案→量化结果'三段式写作范式,生成突出AI思维与产品化能力的高质量简历,支持Markdown和Word两种输出格式。
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.