add-feature-discovery

Analyze a codebase for a feature and generate a discovery.md document.

8|2|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/brabos-ai/code-addiction --skill add-feature-discovery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-feature-discovery
Source: https://github.com/brabos-ai/code-addiction/tree/main/framwork/.codeadd/skills/add-feature-discovery
Command: npx skills add https://github.com/brabos-ai/code-addiction --skill add-feature-discovery

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the technical analysis of a codebase for a specific feature, creating or updating a discovery.md file with technical details, patterns, file mappings, and caching for future use.

Core Features & Use Cases

  • Automated Codebase Analysis: Analyzes code relevant to a specific feature, identifying patterns, dependencies, and files to modify or create.
  • Cache Persistence: Saves analysis results in discovery.md to avoid redundant work across sessions.
  • Use Case: When starting development on a new user authentication feature, this Skill can analyze the existing codebase to identify relevant models, services, and potential conflicts with existing security features, providing a clear roadmap before coding begins.

Quick Start

Analyze the codebase for the new user profile feature.

Frequently Asked Questions about add-feature-discovery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a codebase for a specific feature before starting development?

Analyzing a codebase for a specific feature involves identifying related files, patterns, and prerequisites, then mapping them into a discovery document to provide a clear technical roadmap before coding begins.

What is codebase feature discovery and when do I need it?

Codebase feature discovery is the automated technical analysis of existing code to identify dependencies, similar features, and delivery completeness for a new requirement, needed when starting development on unfamiliar or complex features.

Can I cache codebase analysis results to avoid redundant work across sessions?

Yes, caching codebase analysis results saves technical details, file mappings, and patterns into a discovery.md document, preventing redundant technical analysis across future development sessions.

What's the best way to document technical patterns and file mappings for new features?

The best way to document technical patterns and file mappings is to generate a structured discovery.md file that details related files, necessary prerequisites, and delivery completeness for the target feature.

Does automated code analysis identify potential conflicts with existing features?

Yes, automated code analysis identifies related files and similar features within the codebase, helping pinpoint potential conflicts with existing functionality and outlining necessary prerequisites before implementation.

How do I generate a development roadmap for a new user authentication feature?

Generating a development roadmap for a new user authentication feature requires analyzing existing codebase models and services to identify relevant patterns and dependencies, outputting a detailed technical discovery document.