agentsclimarketplace

Sruja harness

Skill sruja-ai/sruja/skills/sruja-harness

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.From its SKILL.md

Install
npx -y skills add sruja-ai/sruja --skill sruja-harness

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 22 stars22 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 2 commands, including `sruja verify-task --profile coding -r .` and 1 more.

What its file declares

Copied from the file, not written here

The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.3 KB, 551 tokens by cl100k_base, as published. Nobody here has run it

Sruja Harness Skill

Universal verification adapter — works with any coding, bugfix, or review skill.

Quick Start

  1. 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
    
  2. Use with any skill: This skill does not generate code. It verifies output from other skills.

  3. Before marking a task done:

    sruja verify-task --profile coding -r .
    
  4. 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-task with the appropriate profile before declaring a task complete.
  • Profile selection:
    • coding — New features, refactors (default)
    • bugfix — Bug fixes (use --file to target the bug location)
    • review — Pre-merge review of changes
    • arch — 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 → done

This skill does not replace coding skills — it ensures their output passes Sruja's architecture gates.

Profiles

ProfileVerifies
codinglint repo.sruja + just check (or make check) + drift
bugfixfocus --file + just check (or make check) + intent check
reviewreview -f json + intent check + drift
archlint repo.sruja + drift + intent check + review

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.