bmad-generate-project-context

Generate a project-context.md file documenting technology stack and code patterns.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/petrkohut/bmad-todo-app --skill bmad-generate-project-context-petrkohut
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bmad-generate-project-context
Source: https://github.com/petrkohut/bmad-todo-app/tree/main/.github/skills/bmad-generate-project-context
Command: npx skills add https://github.com/petrkohut/bmad-todo-app --skill bmad-generate-project-context-petrkohut

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the generation of a project context file, which contains essential rules and patterns that AI agents must follow when implementing code.

Core Features & Use Cases

  • Automated Context Generation: Generates a project-context.md file with critical rules, patterns, and guidelines.
  • Technology Stack Documentation: Captures and documents the project's technology stack and versions.
  • Code Patterns Identification: Identifies existing code patterns and critical implementation rules.
  • Collaborative Workflow: Facilitates collaboration between technical peers for rule discovery and generation.
  • LLM Optimization: Optimizes the project context for efficient consumption by AI agents.

Quick Start

Run the bmad-generate-project-context skill and follow the prompts to generate the project context file for your project.

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 file for AI code generation?

Generate a project context file by running the skill to automatically discover your technology stack and code patterns, producing an optimized markdown file of critical implementation rules for AI agents.

Why does my AI agent ignore existing code patterns during implementation?

AI agents ignore existing code patterns when they lack a dedicated context file. Generating an LLM-optimized project context document defines the critical rules and patterns the agent must follow.

What is the best way to document a technology stack for AI code assistants?

The best way to document a technology stack for AI assistants is to automate context generation, which captures your project's specific versions and code patterns into a single markdown file.

Can I collaborate with technical peers to define project context rules?

Yes, you can collaborate with technical peers during the project context generation workflow to accurately discover, define, and document critical implementation rules for your software project.

How do I optimize project context for LLM consumption?

Optimize project context for LLM consumption by generating a structured markdown file that explicitly outlines your technology stack, code patterns, and critical rules for AI agents to process.