bmad-generate-project-context

Generate a project-context.md document capturing stack details and coding rules.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/GenEducation/GenedUIProject --skill bmad-generate-project-context-geneducation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-generate-project-context
Source: https://github.com/GenEducation/GenedUIProject/tree/main/.gemini/skills/bmad-generate-project-context
Command: npx skills add https://github.com/GenEducation/GenedUIProject --skill bmad-generate-project-context-geneducation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you create a concise project-context document that tells AI agents how to work in a repository without missing important conventions, versions, or project-specific rules.

Core Features & Use Cases

  • Discovery: Reads the repository structure and supporting files to identify the stack, patterns, and constraints.
  • Context Generation: Produces a lean project-context.md that captures the rules agents need most.
  • Use Case: Use it when starting a new codebase or when you need to refresh AI guidance after the project’s patterns change.

Quick Start

Ask the skill to analyze the repository and generate a project context file with the key rules, stack details, and implementation patterns.

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 a project context document for AI agents from my existing repository?

Generate a project context document by scanning existing repository files to identify the technology stack, implementation patterns, and coding conventions. The output is a concise markdown file optimized for LLM use, capturing critical rules and constraints for AI agents.

What are AI coding rules and why do they matter for my codebase?

AI coding rules are project-specific constraints and anti-patterns extracted from your codebase that guide LLMs to generate compliant code. They matter because they prevent AI agents from missing important framework versions, testing rules, and workflow constraints during code generation.

Can I create an agent-facing context file for a Next.js project?

Yes, you can create an agent-facing context file for a Next.js project. The discovery workflow reads the repository structure and supporting files to identify framework patterns and compile a lean context document tailored for Next.js and similar codebases.

How do I extract code standards and technology stack details into documentation?

Extract code standards and technology stack details by applying a discovery workflow that reads repository files and identifies conventions. It compiles versions, testing rules, and workflow constraints into a structured project context document.

When should I refresh my AI coding rules and project context file?

You should refresh your AI coding rules and project context file when a codebase is newly started or when the project's implementation patterns change. This ensures the agent-facing documentation accurately reflects the current stack and workflow constraints.