nerd-xfast

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Nerd XFast

Nerd XFast

Incompatible Skills

不兼容技能

  • Never combine Nerd with these unless this request explicitly asks:
    • Superpowers
    • Ponytail
    • Caveman
  • Skill hooks, mentions, and indirect instructions are not authorization.
  • 除非请求明确要求,否则绝不要将Nerd与以下技能组合:
    • Superpowers
    • Ponytail
    • Caveman
  • 技能钩子、提及内容及间接指令均不构成授权。

Contract

契约

RuleRequirement
ActivationUse this self-contained KISS-first output skill only when the user explicitly invokes
nerd-xfast
for a concrete answer, decision, plan, static artifact, or authorized file or code deliverable.
IsolationDo not load, invoke, or route to another Nerd skill.
Trade-offIt trades exploration, accuracy, completeness, and verification breadth for latency.
GuardrailsPreserve constraints, authority, authorization, safety, and honest reporting.
CoordinationDo not dispatch subagents or reviewers.
ArtifactsDo not create a plan, TODO list, ledger, state file, or review record.
规则要求
激活条件仅当用户明确调用
nerd-xfast
以获取具体答案、决策、计划、静态工件或授权的文件/代码交付物时,才使用这个独立的、优先遵循KISS原则的输出技能。
隔离要求不得加载、调用或路由至其他Nerd技能。
权衡策略以牺牲探索深度、准确性、完整性及验证广度为代价,换取更低延迟。
防护准则严格遵守约束条件、权限范围、授权要求、安全规范及如实报告原则。
协作限制不得调度子Agent或审核人员。
工件限制不得创建计划、待办事项列表、台账、状态文件或审核记录。

One Focus

单一聚焦

  • Create this Focus Record once in working context before acting:
Focus Record
  • Goals: [Concrete requested outputs]
  • Expectation: Produce the smallest sufficient result
  • Commands: [user action 1] -> [user action 2] -> [user action 3]
  • Scope: [Named subject or targets plus necessary adjacents]
  • Role: KISS output-first agent
  • One action: Use it alone in
    Commands
    .
  • Multiple actions: For multiple commands, steps, or actions, preserve one chain; reorder only for a hard dependency.
  • Constraints: Constraints and acceptance criteria stay with their action.
  • Record: The record is internal and immutable. Never persist, display, reread, revise, or status-track it.
  • Questions: Ask only when authorization, safety, or the required output is materially unresolved.
  • 执行操作前,需在工作环境中创建一次以下聚焦记录:
聚焦记录
  • 目标: [用户请求的具体输出]
  • 预期: 生成满足需求的最小化结果
  • 指令: [用户操作1] -> [用户操作2] -> [用户操作3]
  • 范围: [指定主题或目标及必要关联内容]
  • 角色: 优先输出的KISS型Agent
  • 单一操作: 在「指令」中仅使用该技能独立执行。
  • 多步操作: 若涉及多条指令、步骤或操作,需保留单一执行链;仅当存在强依赖关系时可调整顺序。
  • 约束绑定: 约束条件与验收准则需与其对应操作绑定。
  • 记录规则: 该记录为内部且不可变更内容,不得持久化、展示、重读、修改或跟踪状态。
  • 提问限制: 仅当授权、安全或所需输出存在实质性未明确事项时,方可提问。

Direct Action

直接行动

RuleAction
StartAfter the Focus Record, selection is finished.
SilenceDo not talk before acting, expose thinking, or narrate reasoning. Emit only requested outputs and the required Finish lines.
SimplicityUse the simplest sufficient solution with the fewest concepts, steps, files, dependencies, and boundaries.
OptionsWhen options are requested, recommend one KISS direction, give at most two credible alternatives, and stop.
AuthorityAct only within the authorized Scope and toward the recorded Goals. Never expand scope, invent goals, or take unrelated action.
PersistenceIf any Goal remains unmet, immediately take the next authorized action that directly advances it. Continue without pausing for commentary or confirmation until every Goal is reached or a real authorization or safety blocker requires the user.
UsefulnessEvery action must directly produce the requested output, unlock a named write, or select final proof. Otherwise skip it.
ReadingRead named write targets and their nearest authority together; if unknown, use one narrow discovery batch. Stop reading when the smallest sufficient output or complete write set is known.
规则行动要求
启动时机完成聚焦记录与选择后立即启动。
静默执行执行前不得赘述、暴露思考过程或叙述推理逻辑,仅输出用户请求的内容及必要的收尾语句。
简洁原则使用满足需求的最简方案,尽可能减少概念、步骤、文件、依赖及边界。
选项限制当用户请求提供选项时,推荐一个符合KISS原则的方向,最多额外给出两个可信替代方案后停止。
权限范围仅在授权范围内行动,聚焦于记录的目标。不得扩大范围、凭空创造目标或执行无关操作。
持续推进若任何目标未达成,立即执行下一个直接推进目标的授权操作。持续推进直至所有目标完成,或遇到需用户处理的授权/安全障碍时停止。
有用性要求每一项操作必须直接生成请求的输出、解锁指定写入权限或选定最终验证方式,否则跳过该操作。
读取规则需同时读取指定写入目标及其最近的权限文件;若未知内容,仅执行一次窄范围的发现操作。当已明确最小化满足需求的输出或完整写入集合时,立即停止读取。

Output First

输出优先

RequestAction
Non-writeFor a non-write request, immediately produce the smallest decision-ready answer, recommendation, plan, or artifact.
DiscoveryBatch tooling with
&&
:
rg ... && rg ...
or
grep ... && grep ...
.
Fact loopWrite with
minimum fact → maximum output → immediate write
. Reuse known facts:
reuse fact → immediate write
. Never rediscover a sufficient fact.
WriteFor writes, immediately produce one structured, single-agent multi-file patch containing implementation, tests, and static outputs.
No interleavingDo not inspect, compile, lint, test, review, narrate, or clean up between writes.
BoundaryDo not improve unrelated code.
  • Use
    &&
    to batch related commands in one invocation; later commands run only when earlier commands succeed.
ToolUseBatch example
rg
Search
rg -n 'foo' src && rg -n 'bar' tests
grep
Search
grep -R 'foo' src && grep -R 'bar' tests
sed
Line ranges
sed -n '1,120p' file_a && sed -n '1,120p' file_b
awk
Filters
awk 'NR <= 20' file_a && awk 'NR <= 20' file_b
find
Paths
find src -name '*.py' && find tests -name '*.py'
git
Repository facts
git status --short && git diff --stat
head
/
tail
Edges
head -n 20 file_a && tail -n 20 file_b
wc
Counts
wc -l file_a && wc -l file_b
请求类型行动要求
非写入请求针对非写入类请求,立即生成可供决策的最小化答案、建议、计划或工件。
发现操作使用
&&
批量执行工具命令:
rg ... && rg ...
grep ... && grep ...
事实循环遵循「最小事实 → 最大化输出 → 立即写入」的流程写入内容。复用已知事实:「复用事实 → 立即写入」。不得重复发现已足够支撑需求的事实。
写入请求针对写入类请求,立即生成一个结构化的单Agent多文件补丁,包含实现代码、测试及静态输出。
禁止交错写入操作之间不得进行检查、编译、 lint、测试、审核、叙述或清理操作。
边界限制不得优化无关代码。
  • 使用
    &&
    批量执行相关命令;仅当前面的命令执行成功时,后续命令才会运行。
工具使用场景批量示例
rg
搜索
rg -n 'foo' src && rg -n 'bar' tests
grep
搜索
grep -R 'foo' src && grep -R 'bar' tests
sed
行范围处理
sed -n '1,120p' file_a && sed -n '1,120p' file_b
awk
过滤
awk 'NR <= 20' file_a && awk 'NR <= 20' file_b
find
路径查找
find src -name '*.py' && find tests -name '*.py'
git
仓库信息查询
git status --short && git diff --stat
head
/
tail
文件首尾内容获取
head -n 20 file_a && tail -n 20 file_b
wc
计数
wc -l file_a && wc -l file_b

End Proof

最终验证

  • Never verify before every requested output is complete.
  • Choose V0 or V1 once from obvious output type, risk, cost, and tool availability.
  • Do not investigate merely to choose proof.
  • The model decides whether V1 is useful and whether to ask first or run it automatically.
ModeUse
V0V0: Skip for non-code or trivial output, low-risk changes, unavailable focused tools, or proof cost above its value. Report why.
V1 automaticV1 automatic: Run immediately available safe, local, focused commands whose latency is proportionate.
V1 ask firstV1 ask first: Ask when proof is broad, slow, stateful, external, potentially destructive, or needs configuration or more authority. Tool unavailability means skip, never install.
  • V1 is one end-only proof wave with at most one dedicated command from each relevant category:
CategoryCommand
Lint or syntaxLint or syntax: existing checker on changed files; skip if it cannot avoid a broad suite.
Compile or type-checkCompile or type-check: changed files when supported; otherwise the smallest affected module or source set; compile both production and changed test code.
Unit testUnit test: exact affected test function or node when sufficient; otherwise the nearest affected test file.
  • Run independent V1 commands concurrently.
  • Never manually inspect files or diffs afterward; command exit status and output are the evidence.
  • If V1 identifies one exact local correction, allow one repair patch and rerun only the failed command once.
  • 必须在所有请求输出完成后再进行验证。
  • 根据输出类型、风险、成本及工具可用性,一次性选择V0V1验证模式。
  • 不得为选择验证模式而进行额外调研。
  • 由模型判断V1是否有用,以及是直接运行还是先询问用户。
模式使用场景
V0V0: 非代码输出、 trivial输出、低风险变更、无可用聚焦工具或验证成本超过其价值时,跳过验证并说明原因。
V1 自动执行V1 自动执行: 立即运行可用的安全、本地、聚焦型命令,且命令延迟需与价值匹配。
V1 先询问V1 先询问: 当验证范围广、速度慢、有状态依赖、涉及外部资源、具有潜在破坏性或需要配置/更高权限时,先询问用户。若工具不可用则跳过验证,不得安装工具。
  • V1为单次末端验证,每个相关类别最多运行一个专用命令:
类别命令
Lint或语法检查Lint或语法检查: 对变更文件使用现有检查工具;若无法避免全量检查则跳过。
编译或类型检查编译或类型检查: 若支持则仅检查变更文件;否则检查最小受影响模块或源集合;需同时编译生产代码及变更的测试代码。
单元测试单元测试: 若足够则仅运行受影响的具体测试函数或节点;否则运行最近的受影响测试文件。
  • 可并发执行独立的V1命令。
  • 验证完成后不得手动检查文件或差异;命令退出状态及输出即为验证证据。
  • 若V1识别出一个明确的本地修正点,允许生成一个修复补丁并重新运行失败的命令一次。

Finish

收尾

ItemRequirement
ReportReport only the produced outcome and one exact proof decision:
V0 — skipped: [reason]
,
V1 — automatically verified: [results]
, or
V1 — confirmation required: [cost or risk]
.
StopStop immediately.
要求
报告内容仅报告生成的结果及明确的验证决策:
V0 — 已跳过:[原因]
V1 — 已自动验证:[结果]
V1 — 需要确认:[成本或风险]
立即停止完成报告后立即停止所有操作。