bmad-generate-project-context

Generates a project-context.md file documenting implementation rules for AI coding agents.

2|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/Wizarck/nexandro --skill bmad-generate-project-context-wizarck
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bmad-generate-project-context
Source: https://github.com/Wizarck/nexandro/tree/main/skills/bmad-generate-project-context
Command: npx skills add https://github.com/Wizarck/nexandro --skill bmad-generate-project-context-wizarck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI coding agents often produce inconsistent code because they lack knowledge of a project's specific technology versions, conventions, and critical rules. This Skill captures those unobvious implementation details into a single project-context.md file that agents read before writing code. ## Core Features & Use Cases - Guided Discovery Workflow: Scans architecture documents, package files, and configuration files to identify the technology stack, coding patterns, and conventions. - Collaborative Rule Generation: Walks through rule categories (language, framework, testing, quality, workflow, anti-patterns) with user approval at each step via an A/P/C menu. - LLM-Optimized Output: Produces a lean, structured markdown file with frontmatter tracking, designed for efficient consumption by AI agents. - Use Case: A team adopting AI-assisted development on a NestJS/Next.js monorepo runs this workflow once to document TypeScript strict-mode rules, testing conventions, and commit patterns so every agent-generated PR follows the same standards. ## Quick Start Ask the AI to generate project context for this repository and follow the guided discovery and rule-generation steps.

Frequently Asked Questions about bmad-generate-project-context

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

FAQPage Schema
How do I create a project context file for AI coding agents?▼

Run the generate project context workflow, which scans your architecture documents, package files, and configs to discover the technology stack. It then guides you through rule categories step by step and writes the approved rules to project-context.md.

What should a project context file for AI agents include?▼

It should include exact technology versions, language-specific rules, framework conventions, testing requirements, code quality standards, workflow patterns, and critical anti-patterns. The focus is on unobvious details agents would otherwise miss, not general best practices.

Does this workflow work with an existing project-context.md file?▼

Yes. The discovery step checks for an existing project-context.md in the project knowledge folder or project root. If found, it reads the current sections and lets you update or extend them instead of creating a new file.

Can I review rules before they are saved to the context file?▼

Yes. Each rule category is presented with an A/P/C menu: Advanced Elicitation for deeper exploration, Party Mode for multi-perspective review, or Continue to save. Content is only written to the file after you choose Continue.

When should I update the project context file?▼

Update it when your technology stack, dependencies, or coding conventions change, and review it periodically to remove rules that have become obvious. The frontmatter tracks completed sections and the last update date.