intent-gate

Classifies task intent before ce:work execution and assigns matching execution strategies.

6|2|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Jerrylalala/compound-engineering --skill intent-gate-jerrylalala
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: intent-gate
Source: https://github.com/Jerrylalala/compound-engineering/tree/main/plugins/compound-engineering/skills-custom/intent-gate
Command: npx skills add https://github.com/Jerrylalala/compound-engineering --skill intent-gate-jerrylalala

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When running ce:work, every task gets the same one-size-fits-all treatment regardless of whether it is a new feature, a bug fix, a refactor, or an exploration. This Skill inserts an intent classification gate so each task type follows the execution strategy that actually fits it. ## Core Features & Use Cases - Automatic Intent Classification: Detects six intent types (implement, fix, refactor, explore, configure, mixed) from keywords in the plan or prompt. - Confidence-Based Gating: Applies the strategy directly at high confidence, asks a single confirmation question at medium confidence, and explicitly queries the user at low confidence. - Strategy Routing: Loads the right companion skill per intent, such as test-driven-development for new features or systematic-debugging for bug fixes, and logs the decision to state.md. - Use Case: You run ce:work with a prompt like "fix the login error". The gate classifies it as fix with 0.85 confidence, loads systematic-debugging, and enforces root-cause analysis plus a reproduction test before any code change. ## Quick Start Before running ce:work, load the intent-gate skill so it classifies my task intent and applies the matching execution strategy.

Frequently Asked Questions about intent-gate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I classify task intent before running ce:work?▼

Load the intent-gate skill after ce:work Phase 0 environment scanning and before Phase 1 Quick Start. It analyzes keywords in your plan or prompt, assigns an intent category, and sets the matching execution strategy automatically.

What intent types does the intent gate detect?▼

It detects six types: implement (new features), fix (bug repair), refactor (code cleanup), explore (read-only analysis), configure (config and docs), and mixed (multiple intents split into subtasks). Each type maps to a distinct execution strategy.

What happens when intent classification confidence is low?▼

At confidence below 0.60, the gate asks the user directly via an AskUserQuestion prompt listing the candidate intents. Between 0.60 and 0.79 it shows the classification and asks for a single confirmation before proceeding.

Does intent-gate modify the ce:work skill files?▼

No, it does not modify ce:work SKILL.md. It is loaded before invoking ce:work and adjusts execution behavior as an overlay, avoiding fractional phase numbering that would conflict with ce:work's integer phases.

Can I override the detected intent or skip TDD?▼

Yes. If you explicitly state a preference such as "implement directly without TDD", the gate respects your stated intent and skips the TDD requirement. Misclassified intents can also be corrected during the confirmation step.