CtrlK
BlogDocsLog inGet started
Tessl Logo

Discover rules

Discover rules to enhance your AI agent's capabilities.

AllSkillsDocsRules
NameContainsScore

tessl-labs/pr-review-guardrails

v0.1.8

Evidence-first pull request review with independent critique, selective challenger review, and human handoff.

Contains:

challenger-review

Stress-test the primary review with an additional independent reviewer that generates its own findings, compares reviewer conclusions, and identifies issues the primary reviewer may have missed. Use when performing a second opinion or double-check review on a pull request, for medium or high risk PRs, when authoring was heavily AI-assisted, when primary reviewer confidence is low, when findings conflict, or when you need to verify findings with a cross-model or same-model challenger. Supports same-model and cross-model configurations for fair comparison.

finding-synthesizer

Turn many candidate findings from reviewers and verifiers into a small, decision-useful set. Deduplicates, ranks, and suppresses weak findings to consolidate review results into a prioritized, actionable list with severity ratings and merged confidence scores. Use when you need to merge findings, consolidate feedback, prioritize issues, or summarize review output after review passes are complete and before human handoff. Trigger phrases: "consolidate review results", "merge findings", "deduplicate feedback", "prioritize issues from review", "summarize reviewer output". The evidence threshold is the filter — not an arbitrary cap.

fresh-eyes-review

Provide an independent critique of a pull request (PR) using a clean reviewer context, identifying bugs, security issues, code quality problems, API misuse, and missing test coverage. Use when performing a code review or pull request review after an evidence pack has been built, for green or yellow risk lane PRs, or as part of a full pipeline for red risk lane PRs. Produces candidate findings (covering correctness, security, and architectural concerns) for downstream synthesis — not final verdicts. Operates as a critic, not a co-author. Common triggers: "review this PR", "code review feedback", "fresh review", "independent review".

SkillsRules

93

1.43x

Rules and skills that teach AI agents how to contribute to open source projects without being the villain.

Contains:

install-gate

Scaffold the good-oss-citizen contribution gate into a consumer repository: a `pull_request_target` GitHub Actions check that fails any pull request whose description lacks a contribution declaration — an "AI Disclosure" section or an explicit "no AI assistance" statement — plus the vendored detection script, a PR template, and the tessl.json dependency entry. The gate enforces an outcome (AI use is disclosed) on the PR side, where it cannot be bypassed; it does not, and cannot, prove a tool ran. Use when a maintainer wants to add, install, set up, scaffold, enable, or wire up a contribution gate / a PR check that requires good-oss-citizen or AI-use disclosure before contributing.

preflight

Runs a structured 10-check pre-submission checklist against an open-source contribution before the contributor opens a pull request. Use when the user has written code for an open-source project and needs to prepare a PR, submit a contribution, or verify readiness. Triggers on "submit a PR", "open a pull request", "prepare the contribution", "ready to merge", "check my pull request". IMPORTANT — run this AFTER code is written but BEFORE submission. Checks: AI policy compliance and disclosure (including voluntary disclosure when no policy exists), diff size and focus, PR template, code style, commit conventions, tests, changelog and metadata, legal requirements (DCO/CLA), agent artifacts, slop detector patterns, and human ownership verification.

propose

Analyzes project contribution guidelines, identifies the right venue (pull request, issue, discussion, RFC/KEP/DEP), checks issue metadata (claims, assignments, labels), searches for prior rejected attempts, and drafts proposals formatted to project templates. Use when the user wants to contribute to an open-source project, fix a bug, submit a PR, improve or refactor code, asks where to submit a change, or needs help choosing between PR/issue/discussion/RFC. Triggers on "fix this issue", "submit a PR", "refactor this", "improve this code", "open a pull request". IMPORTANT — run this AFTER recon and BEFORE writing code to verify the right venue and check for prior attempts.

SkillsRules

92

3.40x

Closing the intent-to-code chasm - specification-driven development with BDD verification chain

Contains:

iikit-00-constitution

Create or update a CONSTITUTION.md that defines project governance — establishes coding standards, quality gates, TDD policy, review requirements, and non-negotiable development principles with versioned amendment tracking. Use when defining project rules, setting up coding standards, establishing quality gates, configuring TDD requirements, or creating non-negotiable development principles.

iikit-01-specify

Create a feature specification from a natural language description — generates user stories with Given/When/Then scenarios, functional requirements (FR-XXX), success criteria, and a quality checklist. Use when starting a new feature, writing a PRD, defining user stories, capturing acceptance criteria, or documenting requirements for a product idea.

iikit-02-plan

Generate a technical design document from a feature spec — selects frameworks, defines data models, produces API contracts, and creates a dependency-ordered implementation strategy. Use when planning how to build a feature, writing a technical design doc, choosing libraries, defining database schemas, or setting up Tessl tiles for runtime library knowledge.

SkillsRules

92

1.53x

Deprecated — use the layer plugins. AI Unified Process for the Angular/JPA stack - migrations, implementation, tests

Contains:

coverage-check

Audits an already-implemented use case (UC-XXX) or test case (TC-XXX) against its specification and reports a coverage matrix: which main success scenario steps, alternative flows, business rules, preconditions, and postconditions have code and tests behind them, which are still open, and which code or tests have drifted away from the specification. Use when the user asks to "check coverage", "run a coverage check", "is UC-001 fully implemented", "is UC-001 completely tested", "audit the use case", "show me the coverage matrix", "do a traceability check", "what is still missing for UC-001", or "can I set the status to Tested". This is specification coverage, not line coverage from a coverage report. It reports only — it writes no code, no tests, and no files. When the user wants the gaps closed rather than listed, use /implement, /spring-boot-test, /vitest-test, or /playwright-test instead. Deprecated plugin: new projects use /use-case-coverage of aiup-core.

flyway-migration

Creates versioned Flyway database migration scripts (V*.sql) with sequences, tables, constraints, and foreign keys from the entity model. Use when the user asks to "create a migration", "generate SQL scripts", "set up database tables", "write a Flyway migration", or mentions schema migration, DB migration, database versioning, or SQL migration files. Deprecated with the plugin aiup-angular-jpa, removed with aiup-core 4.0.0: new projects use /flyway-schema of aiup- flyway.

implement

Implements use cases across a Spring Boot + Spring Data JPA backend (flat single-module or hexagonal/ports-and-adapters multi-module) and an Angular frontend wired to that API. Use when the user asks to "implement a use case", "build the API", "create a REST endpoint", "write the data access layer", "build the Angular page/component", or mentions Spring Boot, JPA/Hibernate entities, hexagonal architecture, ports and adapters, or an Angular frontend calling a Java backend. Deprecated with the plugin aiup-angular-jpa, removed with aiup-core 4.0.0: new projects use /use-case-implement of aiup-core with the layer plugins aiup-flyway, aiup-jpa, aiup-spring-boot, and aiup-angular.

SkillsRules

91

1.01x

Build terminal chat UIs with TUI4J - Elm Architecture chat client for AI agent demos with Spring Boot integration

Contains:

tui4j-chat

Build terminal chat user interfaces with TUI4J, including message rendering, input handling, scrollable history, state management, and REST API integration. Use when creating a TUI chat client, terminal-based AI chat interface, styling terminal layouts with Lipgloss, or wrapping a REST API with an interactive terminal UI using the Elm Architecture pattern.

SkillsRules

90

1.38x

AI Unified Process end-to-end layer - Playwright browser tests for use cases and test case journeys of any web UI

Contains:

playwright-e2e-test

Writes end-to-end browser tests in TypeScript with @playwright/test for any web UI that is not Vaadin (Angular, Next.js, other client-side frameworks alike): a use case test (UC-XXX) with one test per scenario, or a test case journey (TC-XXX) that walks the whole Flow table across views with one test.step per row. Locates elements by role, label, and text against the running application and cleans up only the data the test created. Use when the user asks to "write Playwright tests", "create e2e tests", "test in the browser", "automate a test case", "test a user journey", "automate TC-001", or mentions end-to-end, browser, or UI integration tests. Normally run by /use-case-test (or /test-case-implement for a TC-*) as the E2E layer of a project whose docs/architecture/stack.md names Playwright; it can also be run directly. For a Vaadin UI use /vaadin-e2e-test.

SkillsRules

90

1.05x

Ground truth for Shelly Duo GU10 RGBW smart bulb (Gen1): LAN HTTP REST contract, mDNS discovery (with the non-loopback-IPv4-bind gotcha), color/temp endpoints, off semantics, latency expectations. Language-agnostic facts; Kotlin/Ktor reference example.

Contains:

shelly-duo-gu10-control

Controls Shelly Duo GU10 RGBW smart bulbs (Gen1) over LAN HTTP REST. Includes mDNS discovery (with the critical 'bind to non-loopback IPv4' gotcha), color/temperature/off endpoints, status probe, and the 0.2s min-interval for LAN debounce. Use when the user wants to control a Shelly bulb directly without their cloud (Gen1 Shelly Color, Shelly Duo, Shelly RGBW2 share most of this contract), do mDNS discovery on a JVM, or build a low-latency IoT pipeline against a local Shelly device.

SkillsRules

88

1.28x

Adds spec-as-source enforcement to any project using spec-driven development

Contains:

spec-as-source-setup

Installs spec-as-source enforcement scripts, CI workflow, and pre-commit hooks into a project. Trigger — setup spec enforcement, add spec checks, configure spec-as-source, install spec scripts, add spec CI.

spec-ci-sync

Syncs .github/workflows/spec-verification.yml with the test runner and test files declared in specs. Trigger — update CI workflow, sync spec CI, regenerate workflow, CI out of sync with specs, add spec test to CI.

spec-rebuild

Deletes all files declared as targets in specs/*.spec.md and rebuilds them from the specs to verify spec-as-source integrity. Trigger — clean rebuild, verify source of truth, spec drift check, regenerate from specifications, rebuild from spec.

SkillsRules

87

2.34x

Build and demo Java AI agent systems with langchain4j-agentic: workflow patterns, supervisor, custom Planner strategies (incl. the flagship typed-verdict / CriticResult-style critic pattern), plus MCP tools, A2A remote agents, build setup, and conference-demo storylines. Pinned to 1.15.0 / 1.15.0-beta25.

Contains:

langchain4j-agentic

Build, scaffold, and demo Java AI agent systems with the langchain4j-agentic module — workflow patterns (sequential, loop, parallel, conditional), supervisor, and custom Planner strategies including the flagship typed-verdict (CriticResult-style) critic pattern, plus langchain4j-mcp tool servers and langchain4j-agentic-a2a remote agents. Use whenever the user mentions LangChain4j, langchain4j-agentic, Java AI agents, @Agent / @Tool, AgenticScope, AgenticServices, sequenceBuilder / loopBuilder / supervisorBuilder / plannerBuilder, MCP or A2A in Java, or wants to build a conference demo / workshop / POC around autonomous Java agents. Pinned to 1.15.0 core + 1.15.0-beta25 agentic/mcp; refresh with scripts/check_versions.sh.

SkillsDocsRules

84

4.76x

Standards and workflows for building secure, well-structured Terraform modules, including planning gates, validation steps, and implementation guidance.

Contains:

task-log-update

Use when the user asks to log work, record what was done, or save task progress. Creates a structured markdown task log in `agent-logs/` with validation, waivers, and a final gates summary.

task-workflow

Use when the user asks you to implement a feature, fix a bug, or complete a repository task end-to-end (from scoping through code changes, validation, and final gate summary).

terraform-plan

Use when `.tf` or `.tfvars` files have been edited, added, or removed and you need to verify that the code changes produce the intended Terraform plan before the task is considered complete. Runs `terraform plan` in `examples/test_app` and cross-checks the result against the change set you expected your edits to cause. This is a gate: do not declare a Terraform task done without passing it.

SkillsDocsRules

80

1.77x

The codified ticket-handling policy from 'Skill Issue' — a skill, a script, and a rule packaged as one distributable context artifact.

Contains:

fix-the-ticket

Use this when handling a CODE ticket (a bug or feature in application source) that should go through the review-and-merge flow. Do NOT use for docs-only tickets, or for context-artifact changes.

update-docs

Use this for a documentation-only ticket — adding or editing README content, guides, prose, or code comments with no change to application behavior. Adding a new section (e.g. a quickstart) counts. Edits the file directly, no PR or review. Not for code bugs or features — use fix-the-ticket for those.

SkillsRules

80

1.42x

Prevents CPU spikes and full table scans from poorly written RLS policies via index and wrapper enforcement.

Contains:

rls-policy-optimization

Optimizes RLS policies by enforcing SELECT-wrapped auth.uid() calls, mandatory B-Tree/GIN indexes on policy-referenced columns, and SECURITY DEFINER encapsulation of deep JOINs. Use when optimizing RLS performance, fixing policy full table scans, wrapping auth.uid in SELECT, or indexing columns used in RLS policies.

SkillsDocsRules

80

Enforces pgsodium Vault for secret storage accessed only via SECURITY DEFINER functions on service_role.

Contains:

vault-secrets-pattern

Configures pgsodium Vault extension for API key and secret storage. Creates SECURITY DEFINER functions assigned to service_role for secure access. Eliminates hardcoded secrets. Use when storing API keys, managing secrets in Supabase, implementing pgsodium Vault, or replacing hardcoded credentials with Vault references.

SkillsDocsRules

80

Fuses semantic vector search with lexical full-text search using Reciprocal Rank Fusion in a PL/pgSQL RPC.

Contains:

hybrid-search-rrf-pattern

Creates PL/pgSQL RPC implementing Reciprocal Rank Fusion (score = 1/(k+rank)) to fuse semantic pgvector results with full-text tsvector results. Use when implementing hybrid search, RRF search, semantic plus keyword search, exact SKU and conceptual queries, or vector and full-text fusion.

SkillsDocsRules

80

Implements TUS resumable upload protocol for files >6MB with advisory lock conflict handling.

Contains:

storage-resumable-upload

Configures TUS resumable upload client for files over 6MB with Postgres Advisory Lock 409 Conflict handling. Enforces tenant-scoped bucket paths. Use when implementing large file uploads, resumable uploads, TUS protocol, uploads over unstable networks, or files larger than 6MB in Supabase Storage.

SkillsDocsRules

80

Enforces absolute data boundaries between tenants in shared schema via RLS policies on tenant_id.

Contains:

tenant-isolation-rls

Creates RLS policies enforcing tenant_id isolation on shared-schema tables. Verifies ALTER TABLE ENABLE ROW LEVEL SECURITY before policy creation. Requires tenant_id column and custom-access-token-hook JWT claims. Use when implementing multi-tenant data isolation, tenant-safe queries, shared schema RLS, or tenant_id policy creation.

SkillsDocsRules

80

Provides database health diagnostics via slow query analysis, bottleneck identification, and Postgres inspection.

Contains:

db-diagnostics-inspection

Inspects database health by analyzing slow queries, identifying bottlenecks, and checking Postgres performance indicators. Use when diagnosing database issues, checking slow queries, inspecting DB health, finding performance bottlenecks, or troubleshooting Supabase Postgres problems.

SkillsDocsRules

80

Enforces HNSW index selection over IVFFlat and correct distance operator usage for pgvector.

Contains:

pgvector-hnsw-index-selection

Configures pgvector HNSW indexes with correct distance operators. Enforces inner product operator for normalized embeddings instead of cosine distance. Use when setting up vector search, creating embedding indexes, configuring semantic search, or choosing between HNSW and IVFFlat index types.

SkillsDocsRules

80

Enforces PKCE-based OAuth code flow replacing implicit auth flows for modern Supabase auth.

Contains:

pkce-auth-flow

Generates code verifier/challenge pairs, exchanges authorization codes for sessions, sets secure HTTP-only session cookies, and configures server-side callback handling to implement the Proof Key for Code Exchange auth flow. Replaces implicit token-in-fragment flows by removing hash-based token extraction and localStorage usage. Use when implementing Supabase authentication, OAuth login, secure browser auth, SSR auth setup, or modern auth flow migration.

SkillsDocsRules

80

Entrega trazable para proyectos hechos con agentes de código: una rama por entregable integrada con pull request y merge commit, commits en español con Conventional Commits, bitácora de IA (qué hizo el agente, qué se corrigió, qué se descartó) y README de entrega con los 12 puntos de una prueba técnica AI-native.

Contains:

bitacora-ia

Registra en docs/bitacora-ia.md cada tarea hecha con un agente de código (Claude Code, Codex u otro), con lo que se le pidió, lo que hizo, lo que revisó o corrigió la persona, las propuestas descartadas y su motivo, y el tiempo que tomó. Úsala al terminar una tarea hecha por el agente, cuando la persona corrige o descarta una propuesta del agente, al cerrar un entregable, o para reconstruir la bitácora desde el historial de git antes de escribir el README.

flujo-entregable

Crea la rama de un entregable, abre el pull request y lo integra en la rama de integración (por ejemplo ProductionEnv) con merge commit y etiqueta, sin borrar la rama, para que cada entregable se vea claro en el historial de git. Úsala al empezar o terminar un entregable, al integrar una rama, al preparar la entrega final hacia main, o cuando pregunten cómo dejar el historial de git listo para una revisión.

readme-entrega

Escribe o revisa el README.md de entrega de una prueba técnica hecha con agentes de código, con los 12 puntos obligatorios (funcionalidades, tecnologías y versiones, estructura, cumplimiento de requisitos, instalación, base de datos, procedimiento almacenado, tiempo, herramientas de IA, uso del agente, decisiones técnicas y consideraciones). Toma los datos del código, del historial de git, de la bitácora de IA y del glosario. Úsala al preparar la entrega, al cerrar un entregable o cuando pidan revisar si el README cumple.

SkillsRules

77

Can't find what you're looking for? Evaluate a missing skill.