sruja-harness
Skill24 starsChanged 6 months agoApache-2.0View on GitHub
Verification harness for any AI agent skill. Use with any other skills; before marking a task done, run verify-task. On failure, record a correction learning. Ensures lint, tests, drift, and intent checks pass regardless of which skill generated the code.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .gemini/AGENTS.mdAGENTS.md
- skills/sruja-architecture/AGENTS.mdAGENTS.md
- skills/sruja-architecture/references/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/cli-handler.mdcCursor rule
- .cursor/rules/core-engine.mdcCursor rule
- .cursor/rules/extension-ts.mdcCursor rule
- .cursor/rules/sruja-context-host.mdcCursor rule
- .cursor/rules/sruja-dev.mdcCursor rule
- .cursor/rules/wasm-constraints.mdcCursor rule
- grill-meSkill
- sruja-architectureSkill
The file
Files
Sruja Harness Skill
Universal verification adapter — works with any coding, bugfix, or review skill.
Quick Start
- Install alongside other skills:
npx skills add https://github.com/sruja-ai/sruja --skill sruja-harness npx skills add https://github.com/sruja-ai/sruja --skill sruja-architecture - Use with any skill: This skill does not generate code. It verifies output from other skills.
- Before marking a task done:
sruja verify-task --profile coding -r . - On verify failure:
sruja agent record -r . \ -c "<task context>" \ -H "<what was tried>" \ -o failed \ -g "<correction for next time>"
Rules
- Always verify before done — Run
sruja verify-taskwith the appropriate profile before declaring a task complete. - Profile selection:
coding— New features, refactors (default)bugfix— Bug fixes (use--fileto target the bug location)review— Pre-merge review of changesarch— Architecture/DSL changes
- On failure: Record a correction learning before retrying.
- On success: Optionally record an affirmation learning ("what worked").
Integration with Other Skills
Coding Skill (e.g. /build) → sruja-harness verify → record_learning → doneThis skill does not replace coding skills — it ensures their output passes Sruja's architecture gates.
Profiles
| Profile | Verifies |
coding | lint repo.sruja + just check (or make check) + drift |
bugfix | focus --file + just check (or make check) + intent check |
review | review -f json + intent check + drift |
arch | lint repo.sruja + drift + intent check + review |
References
- docs/HOST_AGENT_INTEGRATION.md — Full integration contract
- docs/plans/AGENT_DELIVERY_PLAN.md — Delivery roadmap
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.

