AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Intent Gate

skill-jerrylalala-compound-engineering-intent-gate · by Jerrylalala

Fork Overlay:ce:work 意图分类门控。在执行前识别任务意图(实现/修复/重构/探索),设定对应的执行策略。使用时机:ce:work Phase 0(环境扫描)之后、Phase 1(Quick Start)之前。

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-jerrylalala-compound-engineering-intent-gate

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jerrylalala-compound-engineering-intent-gate)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Intent Gate? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Intent Gate — 意图分类门控

> 参考:oh-my-openagent 的 Intent Classification 思路,适配本仓库 ce:work 流程。 > > 目的:避免 ce:work 对所有任务一刀切处理;不同意图需要不同的执行策略。


意图分类

| 意图 | 英文 | 触发信号 | 执行策略 | |------|------|----------|----------| | 实现新功能 | implement | "新增"、"添加"、"实现"、"create"、"add"、"implement" | TDD 优先,先写测试再实现 | | 修复问题 | fix | "修复"、"修复 bug"、"fix"、"broken"、"error" | 先定位根因(systematic-debugging),再修复 | | 重构 | refactor | "重构"、"优化"、"清理"、"refactor"、"cleanup" | 确保有测试覆盖,小步骤重构 | | 探索/分析 | explore | "分析"、"研究"、"了解"、"explore"、"investigate" | 只读模式,不改代码,生成报告 | | 配置/文档 | configure | "配置"、"文档"、"设置"、"config"、"docs" | 轻量执行,无需 TDD | | 混合 | mixed | 多种意图混合 | 拆分为独立子任务,逐一处理 |


门控检测流程

在 ce:work Phase 0 完成后,执行意图分类:

Step 1: 自动分类

分析输入文档(plan 或 bare prompt)中的关键词,得出初始分类:

输入分析 → 关键词匹配 → 初始意图

Step 2: 置信度评估

| 置信度 | 行为 | |--------|------| | ≥ 0.80 | 直接设定执行策略,不询问 | | 0.60-0.79 | 展示分类结果,询问确认(单问) | | 注意:不使用分数相命名(如 Phase 0.5),以避免与 ce:work 原有整数相编号冲突。

不修改 ce:work SKILL.md。在调用 ce:work 前先加载 intent-gate skill,按其指导调整执行方式。


意图门控日志

在 state.md 中记录意图分类结果(如有 Task Bundle):

# state.md 新增字段
intent:
  detected: fix
  confidence: 0.85
  strategy: "systematic-debugging → write reproduction test → fix → verify"
  intent_gate_at: "2026-04-08T10:00:00+08:00"

防误用说明

| 场景 | 正确处理 | |------|----------| | 用户说"修复这个 bug"但实际是新功能 | Intent Gate 检测为 implement,提示用户确认 | | 混合意图(既修复又重构) | 拆分为两个子任务,分别处理 | | 用户明确说"直接实现,不要 TDD" | 尊重用户意图,跳过 TDD 要求 |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.