bmad-generate-project-context

Scan a codebase and generate a project-context.md file for LLM agents.

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/zerAda/RestaurantAgentAutomation --skill bmad-generate-project-context-zerada
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-generate-project-context
Source: https://github.com/zerAda/RestaurantAgentAutomation/tree/main/.opencode/skills/bmad-generate-project-context
Command: npx skills add https://github.com/zerAda/RestaurantAgentAutomation --skill bmad-generate-project-context-zerada

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of manually creating project context documents for AI agents, which is essential for brownfield projects and quick development workflows.

Core Features & Use Cases

  • Codebase Scanning: Analyzes existing codebases to extract implementation rules, patterns, and conventions.
  • LLM-Optimized Output: Generates a project-context.md file optimized for LLM use, containing critical information for AI agents.
  • Use Case: When starting a new project or onboarding a new AI agent, use this Skill to quickly generate a project context document based on the existing codebase.

Quick Start

Use the bmad-generate-project-context skill to create a project context for your codebase by running the command: 'generate-project-context --codebase path/to/your/codebase'.

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 for AI agents from an existing codebase?

To generate project context for AI agents, run the generate-project-context command with your codebase path. The Skill scans your existing codebase to extract implementation rules and conventions, creating an LLM-optimized project-context.md file.

What is LLM-optimized project context and when do I need it?

LLM-optimized project context is a markdown file containing extracted codebase implementation rules and conventions. You need it when onboarding new AI agents to brownfield projects or quick development workflows to ensure accurate code generation.

Does generating project context require any specific configuration files?

Generating project context requires access to your target codebase and the analyst.agent.yaml file. You must provide the codebase path via the command line interface for the scanning process to execute successfully.

Can I use automated codebase analysis for brownfield project onboarding?

You can use automated codebase analysis for brownfield project onboarding. This Skill scans existing codebases to automatically extract implementation patterns and conventions, replacing the need to manually document project context for AI agents.

What's the best way to extract implementation rules from a codebase for LLM use?

The best way to extract implementation rules for LLM use is automating codebase scanning. This Skill analyzes your existing codebase and generates a structured project-context.md file optimized specifically for LLM consumption.

Why does project context generation need the analyst.agent.yaml file?

Project context generation needs the analyst.agent.yaml file to configure the analysis agent. This file defines the specific rules and parameters the scanner uses to evaluate your codebase and extract the correct implementation conventions.