Skip to main content

AI Agent Engineering Standards Layer

Project description

argus-standards

PyPI version Python 3.11+ License: MIT

Argus injects engineering discipline into AI coding agents via platform-specific instruction files generated from composable standards packs.

AI coding agents skip TDD, produce commit blobs, and violate SOLID by default. Argus fixes this by generating the right system prompt files for your platform — one command, any combination of standards.

Install

pip install argus-standards

Quick Start

1. Create .argus.yml in your project root:

packs:
  - tdd
  - atomic-commit
  - solid

2. Generate platform files:

argus generate

Argus writes instruction files for every supported platform it detects in your project. For example, with Claude Code and Cursor present:

✓ AGENTS.md
✓ CLAUDE.md
✓ .claude/rules/tdd.md
✓ .claude/rules/atomic-commit.md
✓ .claude/rules/solid.md
✓ .claude/skills/tdd/SKILL.md
✓ .claude/skills/atomic-commit/SKILL.md
✓ .claude/skills/solid/SKILL.md
✓ .cursor/rules/tdd.md
✓ .cursor/rules/atomic-commit.md
✓ .cursor/rules/solid.md

Commands

Command Description
argus init Create a starter .argus.yml in the current directory
argus generate Generate platform files from .argus.yml
argus generate --dry-run Preview files that would be written without writing them
argus generate --check Exit non-zero if generated output differs from disk (for CI)
argus packs list List all available packs
argus packs show <name> Show the full content of a pack
argus platforms list List all supported platforms
argus validate Validate .argus.yml without generating files

Packs

Packs are composable engineering standards. Include only the ones your project needs.

Pack Description
tdd Test-driven development — RED → GREEN → COMMIT → REFACTOR cycle
atomic-commit One logical change per commit, conventional commit format
solid SOLID principles with mechanically detectable violation checklist
code-quality Cyclomatic complexity ≤ 10, method ≤ 20 lines, class ≤ 300 lines
pre-commit Non-negotiable pre-commit gate combining all active standards
error-handling Exception hierarchy, raise vs return rules, catching at boundaries
type-safety Full annotation coverage, mypy-clean, no Any in signatures
documentation-standards Docstrings on public API, imperative mood, no what-comments
dependency-injection Constructor injection, depend on abstractions, single composition root
design-patterns Strategy/Factory/Observer patterns to eliminate type-dispatch
refactoring Safe refactoring cycles, code smell catalog, preparatory refactoring
testing-strategy Test pyramid, test doubles guide, right layer for each test type

Platforms

Platform Files Generated
Claude Code (claude) CLAUDE.md, .claude/rules/{pack}.md, .claude/skills/{pack}/SKILL.md
Cursor (cursor) .cursor/rules/{pack}.md
GitHub Copilot (copilot) .github/copilot-instructions.md
OpenCode (opencode) opencode.json, .opencode/skills/{pack}/SKILL.md, .opencode/commands/{pack}.md

All platforms also receive AGENTS.md (OpenAI Codex / general agents).

Development Setup

git clone https://github.com/pmurasky/argus.git
cd argus
pip install -e ".[dev]"
pytest

License

MIT © Peter Murasky Jr

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

argus_standards-0.1.0.tar.gz (126.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

argus_standards-0.1.0-py3-none-any.whl (41.3 kB view details)

Uploaded Python 3

File details

Details for the file argus_standards-0.1.0.tar.gz.

File metadata

  • Download URL: argus_standards-0.1.0.tar.gz
  • Upload date:
  • Size: 126.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for argus_standards-0.1.0.tar.gz
Algorithm Hash digest
SHA256 de94723f12c94f01b03fd4a6b9fe0a850276dabe3a390b6125896587a8b5039a
MD5 6eef605981666ee1cdfcfed8cd183f37
BLAKE2b-256 e8eac69fde5f0a1b016db621710b57b3938f9c538b9b0f1bb162087e19e87e9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for argus_standards-0.1.0.tar.gz:

Publisher: publish.yml on pmurasky/argus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file argus_standards-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: argus_standards-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 41.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for argus_standards-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f27ece96757003962a6294cdcaa4aabc5d76a9e507a9c968b46e3929c95f57b8
MD5 db8d1c54a8118365843e85a1b07545ab
BLAKE2b-256 517f35ffa7ff38d9d97cec47a1cc144406c8b041caf72278cece5e51dabc2d1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for argus_standards-0.1.0-py3-none-any.whl:

Publisher: publish.yml on pmurasky/argus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page