bmad-generate-project-context

Generates a project-context.md document from a repository's tech stack and patterns.

2|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/cassioalexandre/agf --skill bmad-generate-project-context-cassioalexandre
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-generate-project-context
Source: https://github.com/cassioalexandre/agf/tree/main/_bmad/bmm/3-solutioning/bmad-generate-project-context
Command: npx skills add https://github.com/cassioalexandre/agf --skill bmad-generate-project-context-cassioalexandre

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It turns existing project knowledge into an LLM-optimized project-context document so agents implement code with consistent, correct rules rather than guessing.

Core Features & Use Cases

  • Generates project-context.md: Creates or updates a centralized rules file for AI agents.
  • Collaborative, step-based discovery: Guides discovery of stack, patterns, and critical “don’t-miss” rules without inventing content.
  • LLM-efficient rule authoring: Produces concise, actionable sections focused on unobvious implementation details.

Quick Start

Ask your agent to run the bmad-generate-project-context workflow to create project-context.md using your existing repository files.

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 generate project context rules for AI coding agents?

To generate project context for AI agents, this workflow discovers your repository's technology stack and implementation patterns, outputting concise, actionable rules to a project-context.md file so agents implement code consistently.

What is an LLM-ready project context document?

An LLM-ready project context document is a centralized rules file that captures unobvious implementation details and critical agent rules, enabling AI agents to apply consistent, correct code patterns rather than inventing their own workflows.

How do I ensure AI agents follow my project's existing code patterns?

You ensure AI agents follow existing code patterns by generating a centralized project-context.md file through collaborative, step-based discovery that extracts your stack, patterns, and critical rules without inventing new content.

Does generating project context require manual input about my tech stack?

Generating project context uses collaborative, step-based discovery to identify your stack and patterns from existing repository files, meaning it guides the extraction process interactively rather than requiring manual rule authoring.

What is the best way to create LLM governance rules for a software repository?

The best way to create LLM governance rules is generating an LLM-optimized project context file that focuses on unobvious implementation details, ensuring agents write safe, consistent code by following extracted repository constraints and patterns.