codebase-discovery

Generates a security-focused DISCOVERY.md for code review and threat modeling.

8|1|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/igbuend/grimbard --skill codebase-discovery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-discovery
Source: https://github.com/igbuend/grimbard/tree/main/skills/codebase-discovery
Command: npx skills add https://github.com/igbuend/grimbard --skill codebase-discovery

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of a security-focused discovery document for any codebase, streamlining security assessments and threat modeling.

Core Features & Use Cases

  • Automated Discovery: Identifies security-critical files, dependencies, and trust boundaries.
  • Structured Documentation: Generates a comprehensive DISCOVERY.md file detailing the project's security posture.
  • Use Case: When onboarding a new security auditor or starting a penetration test on an unfamiliar project, use this Skill to quickly generate a foundational document that highlights key areas for review.

Quick Start

Use the codebase-discovery skill to generate a DISCOVERY.md for the current directory.

Frequently Asked Questions about codebase-discovery

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

FAQPage Schema
How do I map the security posture of an unfamiliar codebase for a threat modeling review?

To map the security posture of an unfamiliar codebase, generate a security-focused DISCOVERY.md document that highlights critical files, dependencies, and trust boundaries. This provides a foundational structure for threat modeling and security audits.

What is a DISCOVERY.md file used for in code review and security auditing?

A DISCOVERY.md file is used to automate and structure code review findings during security auditing. It documents authentication patterns, validation mechanisms, and trust boundaries to prepare auditors for penetration testing on unfamiliar projects.

Can I use this approach to identify trust boundaries and authentication patterns in any project?

Yes, you can use this approach to identify trust boundaries and authentication patterns in any project. It performs file discovery and analyzes validation patterns to generate comprehensive documentation using a predefined template.

How do I prepare for a security audit on a codebase I haven't seen before?

To prepare for a security audit on an unseen codebase, generate a security-focused DISCOVERY.md file. This quickly identifies security-critical files and dependencies, streamlining the initial assessment and onboarding process for new auditors.

Does automated security discovery replace manual code review for penetration testing?

Automated security discovery does not replace manual code review but rather streamlines penetration testing preparation. It generates a foundational document highlighting key areas for review, allowing auditors to focus their manual efforts efficiently.