praxis
AGENTS.md0 starsChanged 4 months agoApache-2.0View on GitHub
Framework: PRAXIS v1.1 | Full config: GEMINI.md + .gemini/ | Jules guide: JULES.md PRAXIS — from prâxis (πρᾶξις), action informed by reflection. Not an acronym. Every feature follows: DISCOVER → PLAN → VALIDATE → ARCHITECT → DESIGN → STORIES → BUILD → TEST → REVIEW → RETRO. These rules are always active and cannot be overridden. Sync requirement: This section is inlined from _praxis/governance/definition-of-done-L0-L1.md because Jules cannot follow file references. If that file changes, update this section to match. Before…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository5 other files it gives its agents.
- architectSkill
- code-reviewerSkill
- process-analystSkill
- security-reviewerSkill
- test-engineerSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
25 rules. About 0 are common, 14 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Every feature follows: DISCOVER → PLAN → VALIDATE → ARCHITECT → DESIGN → STORIES → BUILD → TEST → REVIEW → RETRO.
- Very specific: line 12
Read _praxis-output/status.yaml to understand current project state.
- Very specific: line 13
Only implement stories from _praxis-output/stories/epics/ or specs from .gemini/specs/.
- Very specific: line 15
Follow architecture in _praxis-output/architecture/architecture.md.
- Very specific: line 16
Follow coding standards in _praxis/guidelines/dev-guidelines.md.
- Very specific: line 17
Follow golden rules in _praxis/governance/golden-rules.md.
- Very specific: line 18
State Engine owns routing: Never decide "what comes next" — the rulebook at _praxis/governance/orchestration-rules.md does that via …
- Very specific: line 19
Sync-not-Handoff: when a test fails for an edge case not in canvas §Safeguards, do NOT patch the code.
- Very specific: line 21
Never modify .gemini/, _praxis/, or _praxis-output/ governance files.
- Distinctive: line 22
Run the full project test suite after implementation.
- Very specific: line 24
Use /task:classify to determine the right workflow for ambiguous tasks.
- Distinctive: line 31
Do NOT write, generate, or suggest code unless explicitly requested
- Distinctive: line 32
Do NOT modify, refactor, or delete existing code without explicit approval
- Distinctive: line 33
Do NOT create files, directories, functions, routes, or components without instruction
- Distinctive: line 37
If a request is ambiguous or incomplete — STOP and ask for clarification
- Distinctive: line 38
No assumptions — base all actions on explicit information only
- Distinctive: line 39
Before significant actions, summarize the task and seek confirmation
- Distinctive: line 44
Stop on uncertainty and consult the user
- Distinctive: line 47
When implementing a story or spec, the assignment constitutes authorization for writes within that story/spec scope
- Distinctive: line 54
Before marking any task complete, verify all criteria for the task's level:
- Distinctive: line 67
All Level 0 criteria, plus:
- Very specific: line 75
All Level 1 criteria, plus full DoD from _praxis/governance/definition-of-done.md (8 categories: Code Quality, Testing, Security, …
- Distinctive: line 82
Commit after each completed layer
- Distinctive: line 88
No dead code — remove unused functions and imports
- Very specific: line 89
Follow the project's architecture as defined in _praxis-output/architecture/architecture.md
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — {Project Name}
Framework: PRAXIS v1.1 | Full config: GEMINI.md + .gemini/ | Jules guide: JULES.md
Methodology
PRAXIS — from prâxis (πρᾶξις), action informed by reflection. Not an acronym. Every feature follows: DISCOVER → PLAN → VALIDATE → ARCHITECT → DESIGN → STORIES → BUILD → TEST → REVIEW → RETRO.
Rules
- Read
_praxis-output/status.yamlto understand current project state. - Only implement stories from
_praxis-output/stories/epics/or specs from.gemini/specs/. - The REASONS Canvas is the binding spec for every story. Read it via tier-based resolution: L0/L1 inline in spec; L2 inline in story; L3/L4 standalone at
_praxis-output/stories/epics/{epic}/canvases/STORY-{NNN}-canvas.md. Implement Operations from §O, honor Safeguards, apply Norms. - Follow architecture in
_praxis-output/architecture/architecture.md. - Follow coding standards in
_praxis/guidelines/dev-guidelines.md. - Follow golden rules in
_praxis/governance/golden-rules.md. - State Engine owns routing. Never decide "what comes next" — the rulebook at
_praxis/governance/orchestration-rules.mddoes that via deterministic table lookup. - Sync-not-Handoff: when a test fails for an edge case not in canvas §Safeguards, do NOT patch the code. Emit Gate 7 verdict with
EDGE_CASE_MISSING_FROM_SAFEGUARDS; the engine routes to/spdd:prompt-update. - Max 500 lines per task. Commit after each logical layer.
- Never modify
.gemini/,_praxis/, or_praxis-output/governance files. - Run the full project test suite after implementation. ALL project tests must pass.
- For new projects, run
/project:setupbefore starting development. - Use
/task:classifyto determine the right workflow for ambiguous tasks.
Golden Rules (Inline — Jules Cannot Follow File References)
These rules are always active and cannot be overridden.
Code & System Integrity
- Do NOT write, generate, or suggest code unless explicitly requested
- Do NOT modify, refactor, or delete existing code without explicit approval
- Do NOT create files, directories, functions, routes, or components without instruction
- Preserve existing architectural patterns, coding style, and operational logic
Requirement Clarification
- If a request is ambiguous or incomplete — STOP and ask for clarification
- No assumptions — base all actions on explicit information only
- Before significant actions, summarize the task and seek confirmation
Operational Transparency
- Explain what will be done before doing it
- Log every decision with reasoning
- Stop on uncertainty and consult the user
Command Authorization
- When implementing a story or spec, the assignment constitutes authorization for writes within that story/spec scope
- Outside assigned work, the Code & System Integrity rules apply without exception
Build Phase Quality Gate (DoD — Inline for Jules)
Sync requirement: This section is inlined from
_praxis/governance/definition-of-done-L0-L1.mdbecause Jules cannot follow file references. If that file changes, update this section to match.
Before marking any task complete, verify all criteria for the task's level:
Level 0 — Micro (8 criteria)
- Spec file created and status set to
completedin.gemini/specs/ - Code compiles / parses without errors
- Formatter applied (Black/Prettier/rustfmt per stack)
- Full project test suite passes (all existing tests, not just affected scope)
- No secrets or credentials in code
- Input validated/sanitized at entry points
- No sensitive data in log statements
- No unbounded queries (all data access uses LIMIT or pagination)
Level 1 — Small (11 criteria)
All Level 0 criteria, plus:
- ≥1 new test covers the change
- Linter clean — zero errors
- [if AI] LLM outputs validated before rendering or downstream use
- Efficient patterns (no polling where events available; caching for repeated reads)
- Spec file status set to
completed
Level 2+ — Full
All Level 1 criteria, plus full DoD from _praxis/governance/definition-of-done.md (8 categories: Code Quality, Testing, Security, Accessibility, Documentation, Version Control, Efficiency & Sustainability, Traceability).
Batch Limits
- Max 500 lines of generated code per task
- Flag changesets > 250 lines for splitting
- A single story covers ≤ 3 endpoints OR ≤ 5 UI components
- Commit after each completed layer
Coding Standards Summary (Inline for Jules)
- Functions do one thing — max 20 lines preferred, 40 hard limit
- Meaningful names — no abbreviations, no magic numbers
- No dead code — remove unused functions and imports
- Follow the project's architecture as defined in
_praxis-output/architecture/architecture.md - Dependencies flow per the chosen architecture style (no boundary violations)
- Input validation at entry layer (Pydantic, Zod, Joi)
- Parameterized queries only — NEVER string concatenation for SQL
- Structured error responses with appropriate HTTP status codes
- Catch specific exceptions — never bare
exceptorcatch
Working with Jules
Jules operates as an asynchronous agent — it receives a task, works on it in an isolated VM, and submits results. Key constraints:
- No interactive commands: Jules cannot run long-running processes or interactive prompts
- No TOML commands: Jules does not parse
.gemini/commands/— use story/spec references instead - No hooks: Jules does not trigger SessionStart or AfterTool hooks
- Single VM: One task = one isolated environment
Jules Input Contract (REASONS Canvas required)
Jules consumes an approved REASONS Canvas — never a raw user prompt. The canvas is the spec; Jules executes Operations and honors Safeguards.
How to Assign Work to Jules
- Story implementation (L2): Reference the story file directly. The canvas is embedded.
Implement the story in _praxis-output/stories/epics/EPIC-001/STORY-001.md. The story contains a REASONS Canvas (R/E/A/S/O/N/Safeguards) — this is the spec. Generate code from §O Operations. Honor §Safeguards. Apply §N Norms. If during execution a §Safeguards violation arises or an edge case is not enumerated, HALT and PR-comment "Canvas needs SYNC-1 update at §Safeguards" — do NOT patch the code. Follow the architecture in _praxis-output/architecture/architecture.md. Follow the coding standards in this AGENTS.md file. Run all tests before submitting. - Story implementation (L3/L4): Reference the story wrapper; follow the
Canvas:link.Open _praxis-output/stories/epics/EPIC-001/STORY-001.md. Resolve the canvas: read the `canvas_path` frontmatter field; load that file. The canvas contains R/E/A/S/O/N/Safeguards — this is the spec. Verify the canvas is approved (`approved_by` non-null). If not, HALT. Generate code from §O Operations. Honor §Safeguards. On any safeguard violation or missing edge case, HALT and PR-comment: "Canvas needs SYNC-1 update — reason: <reason_code>" — do NOT patch. - Spec implementation (L0/L1): Reference the spec file. The slim canvas is embedded.
Implement the spec in .gemini/specs/SPEC-001.md. The spec contains a slim REASONS canvas (R + Approach & Files + O + Safeguards). Generate code from §O Operations. Honor §Safeguards. - Maintenance tasks: Describe clearly with bounded scope
Update all deprecated API calls in backend/services/ Run tests after each file change Max 500 lines total
Jules Scheduled Tasks
Jules supports daily/weekly/monthly scheduled tasks. Useful PRAXIS automations:
| Schedule | Task | Prompt Template |
| Weekly | Dependency audit | "Check for outdated dependencies. List packages with available updates and any known CVEs." |
| Weekly | Dead code scan | "Scan backend/ and frontend/ for unused exports, unreachable code, and unused imports. Report findings." |
| Monthly | Documentation review | "Verify all public functions have docstrings. List undocumented functions." |
See JULES.md for detailed prompt templates and setup instructions.
File Map
_praxis/agents/— Agent definitions (16 agents — no Orchestrator; Process Analyst owns Phase 10)_praxis/workflows/— Workflow task definitions (by phase)_praxis/templates/— Document templates (story.md, story-lite.md, reasons-canvas.md)_praxis-output/— Generated artifacts (PRD, architecture, stories, canvases, reviews, retro)_praxis-output/stories/epics/{epic}/canvases/— L3/L4 standalone REASONS canvases_praxis-output/audit/— Session audit + canvas_events: blocks (SPDD telemetry)_praxis-output/retro/canvas-churn-{N}.md— Process Analyst's abstraction-quality reports_praxis/governance/— Golden rules, DORA, DoR/DoD, orchestration-rules.md (State Engine).gemini/context/— Project architecture, tech stack, domain knowledge_praxis/guidelines/— Standards, security (4 domains), architecture knowledge base.gemini/specs/— Lightweight specifications with slim REASONS embedded (Level 0-1).gemini/commands/— TOML command definitions (Gemini CLI only).gemini/scripts/— Hook scripts (gate-verdict, sync-check, audit-canvas — Bash + PowerShell pairs).agents/— Antigravity IDE integration (rules, workflows, skills)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

