Skip to main content

Built-in skills

Explyt CLI ships with two skills. In the /skills list their source is builtin. You don't need to install or configure them: the model applies them when a task matches their description, and you can invoke either one by name with the /<name> command.

SkillWhen it applies
code-review-orchestratedyou ask to review code, a PR, a diff, a commit, a branch or files
debug-root-causeyou report a bug, a crash, wrong behavior or a flaky test, or ask why something doesn't work

What skills are and how to create your own is described on the Skills page.

code-review-orchestrated​

Organizes a review: agrees the setup with you, runs independent reviewers and publishes one report. The skill doesn't edit the code itself.

/code-review-orchestrated review the changes in the current branch

How the review goes:

  1. What to review. If you didn't say what exactly to review (a PR, a commit, a branch, files, or a module), the agent asks one question about it. Files open in the editor are not treated as the review scope without your confirmation.
  2. Collecting the scope. The agent reads the diff and the related code itself, through git and project search.
  3. Choosing reviewers. Based on the size of the changes, the agent suggests a set of reviewers and asks whether the findings should be validated. For a small diff it suggests a reduced set with validation off. The review doesn't start until you confirm the set.
  4. Review. Each reviewer covers one role, and they all work in parallel as subagents. If subagents can't be started, the agent goes through the roles itself, one by one.
  5. Validating findings (if enabled). A separate validator goes through the findings one by one and marks each as confirmed, false positive or not enough data.
  6. Report. Confirmed findings are merged without duplicates and output as a single report grouped by severity. Every finding has a file and lines.

Reviewer roles:

RoleWhat it looks for
Line-by-line passerrors in every changed line: inverted conditions, out-of-bounds access, null, a missing await
Removed behaviorwhich checks and error handling the diff removed and didn't bring back
Cross-file linkswhether the changes break calling and called code
Reuse and simplificationwhether the code reinvents what the project already has, extra complexity, duplicates, dead code
Efficiencyunnecessary work, blocking on a hot path, leaks
Traces of model generationfitting code to tests, hidden failures, unneeded wrappers, tangled control flow, noise comments
Security (optional)leaked secrets, input validation, injections, unsafe defaults

Besides these, the agent may suggest up to two reviewers tailored to your diff.

The agent saves the review's working notes (findings and validation results) in .tasks/<target>-review/ in the project. They are not code changes. At the end, the agent tells you where they are and offers to delete them.

debug-root-cause​

Finds the cause of a bug with evidence and only then fixes it. The skill's main rule: don't change the code until it is proven why it is broken. "It's probably X" doesn't count as proof.

/debug-root-cause OrderServiceTest sometimes fails on CI

If you didn't describe the problem, the agent asks one question: what exactly goes wrong. It finds out everything else from the project itself. If you only asked why something doesn't work, the agent stops at the cause and suggests a fix but doesn't change the code.

How the search goes:

  1. Reproduction. The agent makes the bug show up: minimal steps, a command, a test or a script. If it can't reproduce it, it says so and lists what it tried instead of moving on to a blind fix.
  2. Localization. The failure is narrowed down to a module and a function: change history, finding the change that broke it, comparing with similar code that works.
  3. Hypotheses. The agent lists hypotheses from the most likely and, for each one, describes in advance the check that would disprove it.
  4. Proof. The checks run, and disproved hypotheses are dropped. One cause backed by a fact should remain: command output, a test, a log line. Until the cause is proven, no fix is suggested.

If the error message points to a single line and reading that line explains the bug, the reproduction and that line are enough, and phases 2 and 3 are skipped.

Then:

  • Fixing the cause, not the symptom. Before the change, the agent states in one sentence: "The bug happens because…". An empty catch, as any, @ts-ignore, eslint-disable, a longer timeout or adjusting the expected value in a test don't count as fixes.
  • Test first. The agent writes a test that reproduces the bug and fails, then makes the minimal change, then runs that test and the rest of the project's tests. If there are no tests or the bug can't be checked automatically, it shows how to check it by hand and gives the actual output.
  • The same defect elsewhere. The agent describes the class of the defect, looks for the same places in the project and lists them. It fixes them only if that is part of the task or you agreed.
  • Report. The cause with evidence, what changed, which test was added and which checks passed, where else the defect occurs, and what remains unverified. If security is affected, that goes first, on a separate line.

Coding rules in the system prompt​

Apart from skills, the agent's system prompt includes general coding rules. They apply to any model and are always on:

  • before changing code, read it and its callers instead of rewriting what the project already has;
  • make the minimal change the task needs and carry it everywhere it reaches: callers, tests, and fixtures. Add tests, documentation, type annotations, refactoring and code "for later" only on request or by the project's instructions;
  • fix the cause, not the symptom: before fixing a bug, state in one sentence why it happens;
  • write comments only about what the code can't say: why it is done this way, a hidden constraint, a workaround.

Replace a built-in skill​

A built-in skill is stored inside the installed product: you don't need to look for it or edit it there. To change its behavior, create a skill with the same name in any search root, for example <project>/.explyt/skills/debug-root-cause/SKILL.md or ~/.explyt/skills/debug-root-cause/SKILL.md. It replaces the built-in skill, which disappears from the list. This is the only case where matching names don't make both skills unavailable.

A file replaces the built-in skill as soon as its name can be read, even if another field is invalid. If name can't be read, the built-in skill stays.

Disable a built-in skill​

Add its name to skills.disabledSkills in settings.json:

{
"skills": {
"disabledSkills": ["code-review-orchestrated"]
}
}

The skill becomes unavailable both to the model and to you. See Skills.