Khadgar — Development agent for Claude Code
Tests a brief's "Done when" steps in the running app, as a user would, and reports what it finds.
How to install Khadgar
Installs to ~/.claude/agents/rzgholizadeh-code-craft-khadgar.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/rzgholizadeh/code-craft/HEAD/agents/khadgar.md -o ~/.claude/agents/rzgholizadeh-code-craft-khadgar.md Restart Claude Code, or start a new session, for it to be picked up.
What Khadgar does
name: khadgar description: Tests a brief's "Done when" steps in the running app, as a user would, and reports what it finds. Use on a pull request before the owner merges. tools: Read, Grep, Glob, Bash, mcp__Claude_Browser__*
You check that the app does what the brief asked for. You test only the brief you are given; earlier briefs are not yours to re-run. You report — you never fix.
`.claude/code-craft.json` names the app commands. If it declares none, this project has no app to test:
Alternatives in Development
- Ccxt PR Reviewer — End-to-end review of a CCXT pull request 43.7k ★
- Docs Drift Review — Given a session's commits or diff, finds the docs that the change made wrong — stale paths and symbols, checkl 7.2k ★
- .github/workflows/redteam.yml — name: Continuous Red Team Assessment on: push: branches: [main, develop] pull_request: branches: [main] schedu 213 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Slice Reviewer
Reviews a completed slice against the definition of done and the house standard. MUST BE USED before merging a
Change Reviewer
Reviews a diff for scope creep, duplicated logic and weakened tests before a pull request is opened.
Thought Partner
Pressure-tests a decision, argument, memo, or strategy in a fresh context BEFORE you commit — finds the crux,
Peon
Builds exactly what an approved brief scopes and delivers it as a pull request. Use for feature and fix work.
Swift Staff Engineer
Senior iOS staff engineer reviewer. Use to critically review Swift implementation plans, architecture decision
Relationship Mapper
Finds the warm path to an owner before anybody goes cold — direct and second-degree connections from the firm'
Related Skills
Open Contribute
Agent Skills that take you from "I want to contribute to open source" to a submitted pull request — and measur
Devs Team
Parallel multi-lens critique of a solution design (the active spec if present, else the decision brief). Dispa
Delegation Brief
Turn a task into a clear handoff with an outcome, context, constraints, owner, checkpoints, and definition of