RepoPilot

github / spec-kit

Search github/spec-kit

GitHub

Code

How github/spec-kit is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Likely public API
  4. Likely public API
  5. Likely start-up file
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add Support for a New Repository Provider

  • Create a new authentication provider in src/specify_cli/authentication/ extending base.py
  • Register the provider in authentication config.py discovery mechanism

Add a New MCP Artifact Type

  • Define a new Pydantic model in artifacts/models.py extending existing operation/command base classes
  • Register the artifact type in the catalog resolution logic
  • Add serialization support in artifacts/_mcp.py for MCP protocol compatibility
  • Update catalog.py to index and expose the new artifact type in discovery endpoints

Add a New Project Initialization Template

  • Create template files and register them in _assets.py for bundling with the CLI binary
  • Add template selection logic in command_init.py or _init_options.py

Change the public API

Trace runtime behavior

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.
  • 1 suggested change pattern has no matching file and is left out.

Code quality and hotspots

Largest source files

  • Branch points52 per file on average
  • Code issues0 errors, 5 warnings
  • Largest file1,977 lines
  • Hotspot load5 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions20 workflows
  • Tests362 test filesPytest · 1.2 test files per source file (file count, not coverage)
  • Dependency updatesCodeQL

Test folders: tests/contract · tests/integrations · tests/extensions

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.