OpenParable
Skip to content
← Back to skills

Kodus Business Rules Validation

Testing & Quality
kodus-business-rules-validation

Kodus Business Rules Validation is an Agent Skill for testing & quality published in the kodustech/kodus-ai repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use when the user wants Kodus to validate local diff changes against task requirements, acceptance criteria, or business rules via `kodus pr business-validation`, especially for implementation-vs-task or merge readiness checks.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/kodustech/kodus-ai/blob/HEAD/apps/cli/skills/kodus-business-rules-validation/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/kodus-business-rules-validation, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Kodus Business Rules Validation

Goal

Run Kodus business-rules validation from the current repository diff only.

Required Inputs

  • One local diff scope:
    • default working tree diff
    • or --staged
    • or --branch <name>
    • or --commit <sha>
    • or [files...]
  • Optional task reference:
    • --task-url <url> or --task-id <id>
    • Do not pass both.

When to Use

  • The user asks for business-validation, business validation, business rules validation, or acceptance-criteria validation
  • The user wants to check local implementation vs task requirements
  • The user mentions local business validation or kodus pr business-validation

Do not use this skill as a substitute for kodus review. Local review and business-rules validation are different flows.

Workflow

  1. Choose the local scope.
  • Default working tree diff when no scope flag is provided.
  • Use only one of --staged, --branch, --commit, or [files...].
  1. Build and run the command.

Examples:

kodus pr business-validation
kodus pr business-validation --staged --task-id KC-1441
kodus pr business-validation --branch main --task-id KC-1441
kodus pr business-validation --commit HEAD~1 --task-id KC-1441
kodus pr business-validation src/service.ts src/use-case.ts --task-id KC-1441
  1. Interpret the result.
  • Mode: local diff means validation over the provided local diff scope.
  • If output says missing MCP/task context, report that directly and request integration/context setup.

Notes

  • kodus review does not trigger this flow.
  • Prefer --task-id or --task-url when the task is not obvious from local context.
  • KC-1441-style keys are valid.