bmad-generate-project-context

Generates a project-context.md file documenting technology stack and implementation rules for AI agents.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/5onyy/essential-ai-agent-skills --skill bmad-generate-project-context-5onyy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: bmad-generate-project-context
Source: https://github.com/5onyy/essential-ai-agent-skills/tree/main/.cursor/skills/bmad-generate-project-context
Command: npx skills add https://github.com/5onyy/essential-ai-agent-skills --skill bmad-generate-project-context-5onyy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI coding agents often miss project-specific conventions, exact dependency versions, and unobvious implementation rules, producing inconsistent code. This Skill captures those critical rules in 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 language, framework, testing, style, and workflow rule categories with user approval at each step. - LLM-Optimized Output: Produces a lean, structured project-context.md with frontmatter tracking and usage guidelines. - Use Case: A team onboarding AI coding assistants runs this Skill once to document their TypeScript strict-mode rules, React hooks patterns, and commit conventions so every agent-generated change follows the same standards. ## Quick Start Ask the agent to generate project context for this repository and follow the step-by-step discovery prompts.

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 discovers your technology stack from package files and configs, then collaboratively documents implementation rules. The result is saved as project-context.md for agents to read before writing code.

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

It should include exact technology versions, language-specific rules, framework patterns, testing requirements, code style conventions, workflow rules, and anti-patterns to avoid. Focus on unobvious details agents would otherwise miss.

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

Yes, the discovery step searches for an existing project-context.md and asks whether to update it or create a new one. It reads the existing sections before proceeding with updates.

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

Yes, each rule category is presented with an A/P/C menu where you can refine rules through elicitation, review from multiple perspectives, or continue to save. Nothing is written without your approval.

When should I update the project context file?▼

Update it when your technology stack, dependencies, or coding conventions change. Periodic review is recommended to remove outdated rules and keep the file lean for LLM context efficiency.