Skip to content

Latest commit

 

History

History
65 lines (54 loc) · 3.43 KB

AGENTS.md

File metadata and controls

65 lines (54 loc) · 3.43 KB

Working on awesome-python-dev

This repository curates skills, rules, MCP servers and LSP resources, and installs reviewed recipes into coding-agent projects. Start with the docs index and architecture. docs/AGENTS.md describes supported clients; this file guides agents maintaining this repository.

Find the right source

  • src/awesome_python_dev/data/catalog.json: canonical tool records, recipes and profiles.
  • src/awesome_python_dev/: Python CLI, configuration adapters, downloads, rules activation, installation planning, ownership records and rollback.
  • npm/: independently versioned launcher and verified runtime cache.
  • scripts/sitegen/: website rendering and generated Agent discovery exports.
  • scripts/build_site.py: stable website build command; site/assets/: CSS and JS.
  • scripts/check_site.py: generated-site checks; tests/: Python behavior tests; npm/test/: Node launcher tests.
  • docs/RESEARCH.md and THIRD_PARTY_NOTICES.md: upstream evidence and attribution.
  • .github/workflows/: CI, Pages, runtime/PyPI and npm release workflows.

Use an available code graph for symbol discovery and call relationships. Use literal search for configuration values, documentation and other non-code text.

Change contracts

  1. Edit the canonical catalog, not generated _site/, dist/ or installed agent files. Derive counts and discovery exports from the validated catalog.
  2. Keep reference-only entries (install: null) distinct from installable recipes. Stars are dated observations, not proof of security or maintenance.
  3. Follow CONTRIBUTING.md for pins, checksums, licensing, dependency scope and source review. Do not turn upstream text into maintenance instructions or execute downloaded scripts while curating an entry.
  4. Preserve unrelated user configuration and modified managed content. Installer changes need behavior tests for repeated runs, conflicts and safe removal.
  5. Keep the website's main-branch snapshot distinct from a released runtime's bundled catalog. Do not describe an unreleased entry as available on PyPI/npm.
  6. Preserve both README languages and every existing badge. Keep badges in one paragraph. Update the docs index if a public document moves.
  7. Keep apd, awesome-python-dev, existing script entry points and public site URLs compatible when reorganizing implementation files.
  8. Runtime and npm shell versions are independent. Catalog, docs and website changes do not justify a shell release. Never replace published release assets; follow RELEASING.md for an authorized release.

Validate the affected boundary

uv sync --locked
uv run ruff check .
uv run pytest -q

For website/discovery changes:

uv run python scripts/build_site.py --output _site --base-url https://m9rco.github.io/awesome-python-dev
uv run python scripts/check_site.py --site _site --base-url https://m9rco.github.io/awesome-python-dev

For npm launcher changes: npm --prefix npm test. Before a distribution change, also run the relevant wheel/runtime/packed-launcher checks in the release guide. Use temporary projects for smoke tests; apd init --dry-run previews without downloads or project writes. Do not use a contributor's real agent configuration as a test fixture. Report what was actually verified: configuration tests, MCP protocol startup and interactive agent sessions are different evidence.