getff — rules as tests

getff helps you prepare and maintain a project's engineering foundation for AI-assisted development. It brings together maintained engineering principles, reviewed examples of failures, diagnostics and reusable integrations. Start with the checks that fit your stack, keep the tools that already work for your team and add executable checks for your project's own agreements. Use the core on its own or add skills, MCP tools and workflow support as needed.
A check can catch a covered violation in a command your team already runs and point to what needs to change. The project's rules and review criteria apply whether a person or an agent made the change.
getff is designed to share engineering agreements and common checking mechanisms as your stack and AI tools change. Each integration handles the details of its language, framework, model, provider or coding agent. The applicable project agreements stay in force across those changes. Each supported setup has its own prerequisites and activation steps.
See the feedback from a check
The TypeScript server template enables ESLint's @typescript-eslint/no-explicit-any rule. It flags export const count: any = 1;. Letting TypeScript infer the type with export const count = 1; passes the same lint command. The pre-commit demo shows how a Git hook rejects a violation. Pre-commit demo
See the checks in this repository’s AGENTS.md and the documentation drift demo. Preview the core profile
What you get today
A fresh installation on an npm stack can deliver the following. The stack, profile and existing configuration determine which checks can run. Check the installer report for the result on your project.
- Skills (
.claude/skills/) — on a fresh npm-lane install, 11 skills at the default env profile: ai-doc, getff, rule-research, rule-tests, template-audit, tool-bootstrapping, arch, night-mode, orchestrator, pipeline, reviewer. getff auto-activates in Claude Code on questions about lint, tests, CI, mutation testing, contracts, and AI-driven code drift. --profile factory adds 6 more skills: aif-doctor, claude-glm-executor-handoff, dispatcher, harvest, intent, story; the handoff-oriented skills use the aif-handoff runtime, while intent also works without it in a degraded mode.
- Sub-agents (
.claude/agents/) — on a fresh npm-lane install, 13 shipped by default: aif-init, capability-reuse-auditor, claims-conformance-auditor, compliance-verifier, docplan-auditor, docs-form-auditor, fidelity-auditor, living-docs-auditor, memory-codification-auditor, plan-drift-semantic-auditor, review-sidecar, rule-researcher, rule-test-author (setup.d/20-agents.sh skips authoring-only tools and gates the pair below behind --profile factory):
review-sidecar — external diff review for tautological tests, mock-only assertions, missing edge cases, and React/Next anti-patterns.
living-docs-auditor — runs audit-ai-docs.sh and reports backward Living-Documentation drift.
aif-init drafts project description and architecture files; capability-reuse-auditor audits new capabilities for overlap and prior-art consistency; claims-conformance-auditor verifies docs-site claims against source; compliance-verifier reviews PR forward and backward evidence; docplan-auditor judges DocPlan grouping; docs-form-auditor audits docs form against the reader-comfort card; fidelity-auditor checks a stage diff against its kickoff; memory-codification-auditor finds conventions stranded in memory; plan-drift-semantic-auditor classifies guarded plan edits; rule-researcher researches stack practices into a rule and firing test; rule-test-author repairs firing test material for an existing generated rule.
- 2 more agents ship only under
--profile factory (or the legacy --with-aif-suite, which ./setup --all sets): orchestrator-worker-discipline + reviewer-discipline; they presuppose the aif-handoff operator runtime and carry their aif-orchestrator-discipline skill-context.