andr-ca/agentharness

Portable engineering policies for coding agents — git, testing, logging, and language conventions written once and referenced everywhere

1Stars on the repository
63Mods indexed here, across every type
yesterdayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

accessibility

01

andr-ca/agentharness

Cursor rule Cursor

Use when building or reviewing web UIs for accessibility — WCAG 2.2 Level AA compliance, semantic HTML over ARIA, keyboard navigation, color contrast, screen reader patterns, and testing approach.

1 yesterday A 41 tokens original MIT

agentharness-router

02

andr-ca/agentharness

Cursor rule Cursor

Generated from this repo's own CLAUDE.md by tools/generate-cursor-rules.sh (https://github.com/andr-ca/agentharness) — do not hand-edit; regenerate instead (tools/generate-cursor-rules.sh --output-dir .). A CI check keeps this file in sync with its source (see .github/workflows/ci.yml's content-quality job).

1 yesterday A 5,154 tokens original MIT

agentic-loops

03

andr-ca/agentharness

Cursor rule Cursor

Use when building multi-turn agents, tool-calling systems, agent orchestration, or autonomous workflows — covers loops, tool calling, branching, reflection patterns.

1 yesterday A 31 tokens original MIT

api-design

04

andr-ca/agentharness

Cursor rule Cursor

Use when designing, reviewing, or evolving a REST or GraphQL API — resource naming, HTTP status codes, versioning strategy, error response shapes, pagination, and authentication patterns.

1 yesterday A 36 tokens original MIT

andr-ca/agentharness

Cursor rule Cursor

Use when asked to check whether review/audit recommendations were actually implemented, whether gaps were closed, or to re-score the repo — verifies claims against repo state instead of trusting status reports.

1 yesterday A 37 tokens original MIT

andr-ca/agentharness

Cursor rule Cursor

Use before implementing big work — new systems, pipelines, daemons, or anything stateful/concurrent — where a bug would be expensive to find after code exists. Requires a written implementation plan to pass multi-round adversarial review by two independent LLM reviewers before any code is written. Not for scoped bug…

1 yesterday A 75 tokens original MIT

branching

07

andr-ca/agentharness

Cursor rule Cursor

Use when creating a branch, naming it, deciding whether to use a worktree, or handling secrets accidentally committed to history — branch naming convention, trunk protection, and secrets-removal procedure.

1 yesterday C 38 tokens original MIT

clean-architecture

08

andr-ca/agentharness

Cursor rule Cursor

Use when business logic is entangled with frameworks or databases. Covers hexagonal architecture (ports and adapters), layer diagram, dependency direction rules, and violation symptoms.

1 yesterday A 32 tokens original MIT

code-review-api

09

andr-ca/agentharness

Cursor rule Cursor

Use when reviewing REST or HTTP API endpoints, controllers, or route handlers. Covers HTTP status codes, idempotency, versioning, auth, pagination, error shapes, and rate limiting. Load instead of the general code-review skill for API-focused reviews.

1 yesterday A 51 tokens original MIT

code-review-db

10

andr-ca/agentharness

Cursor rule Cursor

Use when reviewing code that touches the database or persistence layer. Covers index strategy, query count, N+1, transaction scope, migration safety, and connection pooling. Load instead of the general code-review skill for DB-focused reviews.

1 yesterday A 46 tokens original MIT

code-review-ui

11

andr-ca/agentharness

Cursor rule Cursor

Use when reviewing frontend, UI, or component code. Covers accessibility (WCAG AA), state management, bundle size, keyboard navigation, hydration, and rendering performance. Load instead of the general code-review skill for UI-focused reviews.

1 yesterday A 46 tokens original MIT

code-review

12

andr-ca/agentharness

Cursor rule Cursor

Use when reviewing a diff, pull request, or code change — systematic checklist for correctness, clarity, security, testability, and adherence to the project's conventions. Covers what to look for, how to give actionable feedback, and when to approve vs. request changes.

1 yesterday A 53 tokens original MIT

committing

13

andr-ca/agentharness

Cursor rule Cursor

Use when creating a git commit — atomic commits, message format, what never to commit, and the agent workflow-completion requirement (run completion gate; stage or publish per publish authority).

1 yesterday A 37 tokens original MIT

andr-ca/agentharness

Cursor rule Cursor

Use when designing a database schema, writing migrations, reviewing SQL queries, or choosing between relational and document models — covers naming, index strategy, migration safety, N+1 prevention, and transaction boundaries.

1 yesterday A 40 tokens original MIT

dependency-audit

15

andr-ca/agentharness

Cursor rule Cursor

Use when adding dependencies, reviewing a project's dependency tree, or checking for known vulnerabilities and ownership risk — covers pip-audit, npm audit, govulncheck, lock file hygiene, update policy, and trust assessment.

1 yesterday A 44 tokens original MIT

andr-ca/agentharness

Cursor rule Cursor

Use when writing or reviewing code with object graphs, service dependencies, or testability concerns. Covers constructor injection, DI containers, lifetimes, and anti-patterns (service locator, ambient context, over-injection).

1 yesterday A 43 tokens original MIT

design-patterns

17

andr-ca/agentharness

Cursor rule Cursor

Use when recognizing a recurring design problem. Covers GoF patterns: Factory, Builder, Strategy, Observer, Command, Template Method, Decorator, Repository, Facade — when to apply each and when not to.

1 yesterday A 43 tokens original MIT

docker-conventions

18

andr-ca/agentharness

Cursor rule Cursor

Use when writing a Dockerfile, docker-compose file, or CI containerization config — multi-stage builds, layer caching, security (non-root user, minimal base images, no secrets in layers), and health checks.

1 yesterday B 43 tokens original MIT

error-handling

19

andr-ca/agentharness

Cursor rule Cursor

Use when building error recovery, handling exceptions, designing error flows, or implementing logging for errors — covers retry, circuit-breaker, error wrapping, structured logging.

1 yesterday A 32 tokens original MIT

andr-ca/agentharness

Cursor rule Cursor

Use before creating any new file or directory in an established project — covers guarded root paths, docs/, src/, conf/, the allowed-additions escape hatch, and how to ask for permission. Load this skill at the start of every session in a project that has .agentharness-guarded-paths.json.

1 yesterday A 63 tokens original MIT

github-issue-triage

21

andr-ca/agentharness

Cursor rule Cursor

Triage a GitHub issue by verifying all factual claims against running code, assessing roadmap fit, then posting a structured response comment with confirmed findings, stale corrections, a recommendation, and concrete test steps.

1 yesterday A 40 tokens original MIT

go-conventions

22

andr-ca/agentharness

Cursor rule Cursor

Use when writing, reviewing, or refactoring Go code — naming conventions, receiver naming, error wrapping, interface design, goroutine safety, and common pitfalls (goroutine leaks, defer-in-loop, nil map writes).

1 yesterday A 44 tokens original MIT