analyze-repo-capabilities

CheekyCodexConjurer's avatarfrom CheekyCodexConjurer

Detect repo tooling and patterns, then record a dynamic manifest.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 30, 2025

When & Why to Use This Skill

The analyze_repo_capabilities skill is designed to automate repository discovery and context building for AI agents. It scans codebases for specific patterns, frameworks, and tooling signatures (such as CI/CD, Docker, and IaC) to generate a dynamic manifest. By populating structured memory files like CAPABILITIES.md and COMMANDS.json, it ensures that the agent has a precise, up-to-date understanding of the project's environment and available operations, significantly reducing manual context-setting and improving task execution accuracy.

Use Cases

  • Agent Onboarding: Automatically orienting an AI agent to a new or complex codebase by identifying the tech stack, build tools, and deployment patterns.
  • Dynamic Documentation: Maintaining a 'living' manifest of project commands and capabilities within the .agent-docs directory to keep the agent's knowledge synchronized with code changes.
  • Environment Awareness: Detecting infrastructure-as-code (IaC) and containerization signatures to help the agent determine the correct environment for running tests or deployments.
  • Command Discovery: Extracting and verifying executable scripts and CLI tools from the repository to provide the agent with a reliable set of actions for automation tasks.
nameanalyze_repo_capabilities
descriptionDetect repo tooling and patterns, then record a dynamic manifest.
short-descriptionDetect repo capabilities

Purpose

Scan the repository for tooling signals and record findings.

Steps

  1. Inspect common signatures (CI, Docker, IaC, agents, frameworks).
  2. Update .agent-docs/memory/CAPABILITIES.md.
  3. Populate .agent-docs/memory/COMMANDS.md and COMMANDS.json.
  4. Update .agent-docs/memory/MANIFEST.yaml.
  5. Update .agent-docs/memory/INDEX.md and INDEX.json.

Guardrails

  • Do not overwrite existing files; merge append-only where possible.
  • Prefer verified commands and record confidence.