AI Coding Agent Playbook
The AI Playbook is a set of short, tested guides for working with AI coding agents such as Claude Code and Codex. Each guide answers one question in its first paragraph, shows the setup in one diagram and gives the exact steps, files and commands.
Skills and commands
A skill is a folder with a SKILL.md file that teaches a coding agent a task you repeat. These guides cover writing one, choosing where it lives and sharing it with a team.
How to Add Custom Slash Commands to Copilot and Continue
Learn how to extend your AI coding agents by configuring custom slash commands. You will be able to define domain-specific shortcuts, automate prompt workflows, and integrate custom system instructions in GitHub Copilot and Continue.dev using markdown and JSON configuration files.
How to Link MCP to Claude Desktop, Cursor, and Claude Code
Learn how to connect Model Context Protocol (MCP) servers to Claude Desktop, Cursor, and Claude Code. This step-by-step guide walks you through configuring your environment, editing configuration files, and verifying that your coding agents can successfully access external tools and databases.
How to Package and Share AI Agent Skills With Your Team
Learn how to package your custom AI agent skills and Model Context Protocol servers into a single, portable directory using the Agent Plugins 1.0.0 standard. You will be able to distribute unified workflows and live tools to your entire team across compatible clients like Cursor and VS Code.
Personal Skills or Project-Level Skills: Which to Use
Learn how to structure your AI agent workflows by choosing between personal and project-level scopes. You will be able to configure Claude Code and other tools to store your custom skills in the right directory, ensuring seamless sharing across your team or private reuse across your local projects.
How to Create Custom Skills for Claude Code and Codex
Learn how to manually and automatically generate custom skills for Claude Code, OpenAI Codex, and other LLM CLIs. You will be able to configure global or project-specific paths, use standard templates, and implement scenario-based workflows to extend your AI agent capabilities.
Skills, Commands, Subagents or Hooks: Which to Use
Claude Code has four ways to give the agent reusable behaviour. A one-question-at-a-time guide to picking the right one, with a minimal example of each.
Agent instructions and context
An agent works from the instructions and context it is given. These guides show how to structure AGENTS.md and related files so the agent finds the right rule at the right time.
Hooks and automated checks
A hook runs a command at a fixed point in the agent's work, such as after every file edit, so a rule is enforced every time instead of remembered.
How to Block Risky Commands in Claude Code and Cursor
Learn how to set up deterministic agent hooks in Claude Code and Cursor to intercept and block dangerous terminal commands before execution. You will write executable scripts that parse tool payloads, ensuring your local environment remains safe from accidental destructive actions.
How to Auto-Format Files Edited by Claude Code
Learn how to configure Claude Code to automatically run Prettier or any other formatter every time it edits or writes a file. By setting up a PostToolUse hook in your project settings, you can guarantee deterministic code formatting without relying on the LLM to remember.
Agent workflows
An agent workflow splits work into stages with a check between them, such as spec, plan, build and review, or a manager agent that hands tasks to subagents.
Spec, Audit, and Maintain: A Workflow for Vibe Code
Learn how to diagnose undead AI applications, replace disposable code with strict specifications, and design prompt loop exit strategies that keep your codebase maintainable when model access stops.
Aligning Stacked PRs: A Workflow for Agent Git Rebase
Learn how to safely align stacked pull requests after a squash merge. This workflow shows you how to use git rebase onto to replay agent commits cleanly, verify tree states, and prevent merge conflicts when managing multi-branch dependencies.
Git Worktrees: A Workflow for Running Parallel Agents
Learn how to use Git worktrees to run multiple AI coding agents simultaneously on a single repository. This guide shows you how to isolate filesystems, prevent Git lock contention, and manage parallel agent branches without duplicating your local repository history.
How to Run Coding Agents in CI with gh-aw and Aider
Learn how to integrate secure, Git-native coding agents into your CI pipeline. This guide shows you how to set up GitHub Agentic Workflows (gh-aw) and in-process CLI tools like Aider to automate code reviews, issue triage, and pull request creation safely.
Manager and Subagents: A Workflow for Repetitive Tasks
Learn how to build structured LLM workflows to automate repetitive tasks reliably. You will design a manager and subagent architecture using Python, evaluate orchestration packages, and implement deterministic code paths to eliminate agentic drift in your production systems.
Spec, Plan, Build, Review: A Workflow for Agent Coding
Agents write code fast. The slow part is catching what they got wrong. A five-step workflow with a written spec, a tested plan and one fresh reviewer at the end.
Review and oversight
Oversight is how you catch an agent's mistakes before they ship: reviews, tests and checkpoints that verify the work instead of trusting it.
Costs and tools
AI coding costs come from tokens, seats and retries. These guides show where the money goes and how to cap it without slowing the work.