Skip to main content

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).

OpenCode config ownership

argus generate deep-merges opencode.json instead of replacing it. Argus claims only two keys:

  • $schema — refreshed to the current schema URL
  • instructions — "AGENTS.md" is unioned into the list; your existing entries are preserved

All other keys (mcp servers, plugin, model, default_agent, …) — including entries managed by other tools — are left untouched, and argus generate --check stays drift-free in mixed-tool repos. If the existing opencode.json is not valid JSON (e.g. JSONC with comments), argus skips it with a warning rather than risk data loss.

Development Setup

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

License

MIT © Peter Murasky Jr

Metadata

Release files for argus-standards 0.1.2

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

Source distribution (sdist)

Source distribution for argus-standards 0.1.2
File Size Uploaded Provenance
argus_standards-0.1.2.tar.gz 615.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for argus-standards 0.1.2
File Interpreter ABI Platform
argus_standards-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 692.1 kB

Release files / argus_standards-0.1.2.tar.gz

Download URL argus_standards-0.1.2.tar.gz
Size 615.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5ddda7b32df2ef84ea9bade5198877edb90fff8ce761a2a41de4c06d432b986d
BLAKE2b-256 checksum
How to use checksums
06c14a4c2f8c5ff2798a565faf40c0fa69c2e66957f27caa5ecb023a2f14fb45
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 Oct 13, 2026.

Transparency log

Release files / argus_standards-0.1.2-py3-none-any.whl

Download URL argus_standards-0.1.2-py3-none-any.whl
Size 76.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecdbe2f67891fa1f9c65d6ca4da325869d444f71b3b216ed0ea0a48225dc2e00
BLAKE2b-256 checksum
How to use checksums
aa0f105f0df4b3fdf4a4c1869a77167571a689cd8edeb17e40406a7bc3a050a7
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 Oct 13, 2026.

Transparency log

Security for argus-standards 0.1.2

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 argus_standards-0.1.2.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 Oct 13, 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.

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