Skip to main content

Feature Map

Cross-app architecture research CLI. Agents and engineers keep authoritative feature maps in .features/*.yaml; feature-map lists, searches, validates, and graphs them.

A wiki stores architecture as prose — agents re-read a whole page to find three files. Feature Map stores fields (purpose, entry_points, apps) and a CLI that returns names and sections, so lookup is cheap and check can prove paths still exist.

Install

pip install -e .
# pip install feature-map-cli
# brew install feature-map

Requires Python 3.8+ and PyYAML. The CLI is feature-map. Install from PyPI as feature-map-cli — pip install featuremap is a different (biology) project, and feature-map is blocked on PyPI as too similar to that name.

Usage

cd my-repo
feature-map init
feature-map init auth          # scaffold .features/auth.yaml
feature-map list
feature-map search billing
feature-map validate

feature-map init is idempotent. It:

  1. Creates .features/
  2. Copies the agent skill to .agents/skills/feature-map/ (or .grok/skills/ if that tree already exists)
  3. Writes .feature-map.yaml defaults when missing
  4. Appends an AGENTS.md block (skip with --no-agents)
  5. Writes bin/feature-map as a repo-local shim (skip with --no-shim)

Refresh the skill after upgrading the package:

feature-map init --upgrade-skill

Commands

Command Purpose
list All feature slugs
show <name> / <name> Print a map (or --section)
search <query> Full-text search
find <path> Reverse lookup by path fragment
graph [name] related_features graph (mermaid, json, dot)
validate [--strict] Structural checks
check Stale entry_points / core_components paths
impact <file> Which maps reference a file
stats Coverage summary
init / init <name> Bootstrap repo or scaffold a map
install Setup status
--json / --version Machine output / version

Exit codes: 0 ok, 1 user error, 2 validation failure (--strict).

Per-repo config

.feature-map.yaml at the git root:

features_dir: .features
apps:
  - api
  - web
required_sections:
  - purpose
  - entry_points
min_cli_version: "1.0.0"

apps prefixes are used by check when resolving paths.

Develop

pip install -e ".[dev]"
python -m pytest -q

License

MIT

Metadata

Release files for feature-map-cli 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for feature-map-cli 1.0.0
File Size Uploaded Provenance Actions
feature_map_cli-1.0.0.tar.gz 24.7 kB With provenance Details for feature_map_cli-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for feature-map-cli 1.0.0
File Interpreter ABI Platform Actions
feature_map_cli-1.0.0-py3-none-any.whl Python 3 none any Details for feature_map_cli-1.0.0-py3-none-any.whl

Total release size: 57.4 kB

Release files / feature_map_cli-1.0.0.tar.gz

Download URL feature_map_cli-1.0.0.tar.gz
Size 24.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fdb211503d71408f8aad68712666fdd0bdeab4676ab3f585935416fd69c7f7bc
BLAKE2b-256 checksum
How to use checksums
1b9b4e4305e888854994e104e28da63d5d2d68dc40eb3b331ce37fa493c9fc65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.

Transparency log

Release files / feature_map_cli-1.0.0-py3-none-any.whl

Download URL feature_map_cli-1.0.0-py3-none-any.whl
Size 32.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
85429cc1c323938341a6e36de85af889ff2882e9bd4321d56ed8764245a2fb58
BLAKE2b-256 checksum
How to use checksums
351064bc581b7d729a03db464f5483b835fc35b1d0175f2b82fb977e4073bf3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.

Transparency log

Security for feature-map-cli 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for feature_map_cli-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page