discover

Map repository structure and extract governance rules for AI coding workflows.

437|45|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/ZaxbyHub/opencode-swarm --skill discover-zaxbyhub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: discover
Source: https://github.com/ZaxbyHub/opencode-swarm/tree/main/.opencode/skills/discover
Command: npx skills add https://github.com/ZaxbyHub/opencode-swarm --skill discover-zaxbyhub

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually mapping a repository's structure, public APIs, and project governance rules is time-consuming and prone to oversight, leading to AI-generated code that violates project standards or misses security-sensitive areas.

Core Features & Use Cases

  • Read-Only Repository Mapping: Automatically survey codebase structure, public API surfaces, and complexity hotspots without modifying files.
  • Governance Rule Extraction: Scan standard project files (CONTRIBUTING.md, project-instructions.md, etc.) to pull mandatory (MUST) and recommended (SHOULD) constraints for AI compliance.
  • Use Case: When initializing an AI coding swarm for a new project, use this skill to quickly build a complete context map of the codebase and all project rules, ensuring all generated code adheres to team standards from the first iteration.

Quick Start

Use the discover skill to map the current repository's structure, extract all project governance rules, and flag security-sensitive modules for the AI coding swarm.

Frequently Asked Questions about discover

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

FAQPage Schema
How do I extract project governance rules and context for an AI coding swarm?

Repository discovery maps the codebase structure, public API surfaces, and complexity hotspots without modifying files. It scans standard project files to extract mandatory and recommended constraints, ensuring generated code adheres to existing project standards and avoids security-sensitive modules.

Why does AI-generated code violate project standards and miss security-sensitive areas?

AI-generated code violates standards when manual context mapping overlooks repository constraints and security hotspots. Automating repository discovery eliminates this error-prone process by extracting governance rules and flagging sensitive modules before implementation begins.

How to map a repository structure and public APIs without modifying files?

To map a repository structure and public APIs without modifying files, apply read-only repository discovery. This surveys the codebase structure and extracts governance rules from project files to build a complete context map for AI workflows.

Can I use repository discovery to scan CONTRIBUTING.md and extract mandatory constraints?

Yes, you can use repository discovery to scan standard project files like CONTRIBUTING.md and project-instructions.md. It extracts mandatory and recommended constraints to ensure generated code complies with existing project standards.

What is the best way to initialize an AI coding swarm for a new project?

The best way to initialize an AI coding swarm is to automate repository discovery and governance rule extraction. This builds a complete context map of the codebase, ensuring generated code adheres to team standards from the first iteration.

Does automated context extraction flag security-sensitive modules for AI coding workflows?

Yes, automated context extraction flags security-sensitive modules during repository discovery. It maps complexity hotspots and project-specific constraints to ensure AI coding workflows avoid modifying security-critical areas.