Repository validation

Validate the project from the top down.

Assura starts with stable, language-agnostic repository policy: where files belong, how paths are named, what must exist, how large structures can grow, and which content-level rules apply across file types.

assura check · supported
$ assura check
files checked     28
dirs checked      20
violations        6

! apps/web/src/BadName.tsx  file_naming
! AGENTS.md  agent_guidance:agent_project_guidance
! AGENTS.md  agent_guidance:agent_project_guidance

Filesystem shape

File and directory naming, allowed and required paths, forbidden entries, child counts, and generated-output boundaries.

Inside every file type

Language-agnostic line limits, Markdown sections, frontmatter, references, and content rules beyond filesystem operations.

Reusable policy

Shared rules and inherited structure reduce duplicated configuration across packages, apps, docs, and monorepo areas.

01

Start broad

Establish project-level health and safety before attaching runtime or framework-specific tools.

02

Return repair context

Findings identify the path, rule, severity, blocking state, and configured expectation so agents can choose a focused repair.

03

Use the same contract everywhere

Run the configured policy locally, in hooks, in CI, and through bounded agent reports.

04

Extend by layer

Specialized language, content, release, or domain constraints attach after the broad repository contract is stable.

Agent setup

Start with one agent instruction.

Give this prompt to the coding agent already working in your project. It installs Assura, establishes a broad baseline, verifies the setup, and leaves unresolved project decisions visible.

Recommended Agent prompt
Install Assura in this repository and set it up for agent-ready checks.
If assura is not installed, run:
ASSURA_INSTALL=https://assura.dev/install.sh
curl -fsSL "$ASSURA_INSTALL" | sh

Then run:
assura agent onboard . --agent auto --format json
assura check --format json .

Read .assura/onboarding/agent-next.md, summarize what is active, what is inactive, and what questions need human answers before adding project-specific rules.
Manual install curl -fsSL https://assura.dev/install.sh | sh