bmad-project-context

Creates and maintains verified AGENTS.md instruction blocks for AI coding agents in repositories.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/Hexalith/Hexalith.Parties --skill bmad-project-context-hexalith
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-project-context
Source: https://github.com/Hexalith/Hexalith.Parties/tree/main/.agents/skills/bmad-project-context
Command: npx skills add https://github.com/Hexalith/Hexalith.Parties --skill bmad-project-context-hexalith

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? AI coding agents repeatedly make the same mistakes in a repository because project rules, conventions, and pitfalls are scattered or undocumented. This Skill produces a small, verified agent-instruction block inside AGENTS.md so agents follow the repo's real rules from the first session. ## Core Features & Use Cases - Setup, adopt, refresh, record, and audit modes: Scaffold a new instruction block, migrate existing CLAUDE.md or AGENTS.md content into a managed block, re-verify it against the current codebase, capture observed agent mistakes as pitfalls, or prune stale lines. - Evidence-based verification: Every command claim is checked against the actual script or CI config, every path is validated, and deletions require one of four documented grounds with user approval. - Ledger-driven migration: Existing instructions are tracked line-by-line (retain, rewrite, relocate, automate, delete) so nothing is silently dropped during adoption. - Use Case: A team adopts AI coding assistants but agents keep running the wrong test command and editing a frozen legacy directory. Run this Skill to interview maintainers, scan the repo, and write a verified AGENTS.md block with the correct invocations and protected paths. ## Quick Start Ask the agent to set up the AGENTS.md project context block for this repository using the bmad-project-context skill.

Frequently Asked Questions about bmad-project-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an AGENTS.md file for AI coding agents?

Run the setup intent of this Skill against your repository. It scans configs and CI, interviews you about rules no scan can find, then writes a small verified block between markers in AGENTS.md after you approve it.

How do I migrate CLAUDE.md instructions to AGENTS.md?

Use the adopt intent. The Skill treats your existing file as the baseline, opens a ledger entry for every instruction, and shows where each one lands before splicing the managed block into AGENTS.md.

What belongs in an AGENTS.md agent instructions file?

Include policy code cannot express, command caveats configs do not state, conventions differing from ecosystem defaults, and pitfalls with observed evidence. Exclude directory trees, stack lists, and anything a linter or CI check already enforces.

Can this Skill update AGENTS.md after the codebase changes?

Yes, the refresh intent re-verifies every path and caveat, diffs deletions and renames since the recorded commit SHA, and proposes updates. Removals are shown as ledger entries and never applied silently.

When should a rule be a hook or CI check instead of an instruction?

Whenever a rule is mechanically preventable, the Skill proposes a hook, lint rule, or CI check instead of prose. Once the check is live, a later audit run deletes the redundant instruction line.