AGENT SKILL

i18n

Internationalization (i18n) workflow and standards for managing translations. Use when: (1) Adding new user-facing text, (2) Creating new components with text, (3) Reviewing code for i18n compliance. Features: Key naming conventions, sync checking, hardcoded string detection, translation workflow.

License 许可
Apache-2.0
最近更新
2026-11-11
Stars
★ 10
Forks
2

01 前言 Front Matter

name
verify-before-claiming
description
Tags claims as runtime-verified or inferred. Use before calling a behavior working or broken from code reading alone, or when the user reports otherwise.

03 SKILL.md 正文

Verify Before Claiming

The failure mode: tracing a code path, seeing that it looks wired up correctly, and reporting "this works" or "this is implemented" — when nobody actually ran it. Code that reads correctly and behavior that occurs at runtime are two different claims; only one of them is checkable by reading.

Announce at start: "Verifying before I claim this, not just reading the code."

When this fires

  • About to tell the user a feature works, a bug is fixed, or a behavior is implemented/broken, and the only evidence so far is source reading.
  • The user has already told you the observed behavior (e.g. "it doesn't work in practice") — this fires to stop you from re-asserting the code-reading conclusion over their report.
  • Skip when the claim is genuinely a pure-logic claim with a test as the real observation (see CLAUDE.md "Claiming Done"), or the user only asked "where is X defined," not "does X work."

<HARD-GATE> Do not present an INFERRED conclusion as fact. Say it's inferred and name the exact step that would upgrade it to VERIFIED-RUNTIME. </HARD-GATE>

Process

  1. If the user already reported the actual behavior, treat that as ground truth. Don't re-derive "should work" from the code — go find why the code doesn't match reality.
  2. Otherwise, before stating a works/broken/implemented claim, ask: is this VERIFIED-RUNTIME (you executed it, checked DevTools/console/output) or INFERRED (you read the code and it looks right)?
  3. If INFERRED and verification is cheap (run the test, curl the endpoint, load the page), just run it.
  4. If verification is expensive or requires environment you don't have, say so, tag the claim INFERRED, and give the user the one command or manual step that would confirm it.
  5. Never let an agent's report of its own work stand as verification of the running system — check it against an artifact the agent didn't author.

When A Second Agent Is Worth It

A verifier subagent costs a round trip and a second context. Spend it only when all three hold:

  1. The mistake would survive the mechanical checks. Typecheck, lint and unit tests would pass with the error still in place.
  2. A human reading the output would not catch it either. Numbers, large classifications, external state — results with no obviously wrong shape.
  3. Fixing it later costs more than the verifier does. Work downstream has already been built on it, or the operation is not reversible.

Two out of three is a no. So is "this feels important".

This test is for a verifier you dispatch unprompted. When the user asks for a second opinion — for any reason, a hunch included — arrange it without asking them to justify it. The artifact rule below still applies.

Work Verifier? How
Numeric analysis, benchmarks Yes Hand it the input fixture and the produced numbers. Ask it to derive the expected values itself
Bulk classification of many items Yes A random sample of ~20, the rule text, nothing else
Plan for a destructive operation Yes It reviews the plan artifact (the CSV, the file list), never the prose describing it
Quality of a skill's judgment No — that is a fixture test A recorded case with an expected answer, re-run on change. Not a per-run agent
Root cause investigation No by default measure-first already covers this. Only when the observation is expensive and one-shot
Ordinary small edits, CRUD, trivial refactors No The mechanical checks catch these, which is condition 1 failing

Give it the artifact, not your reasoning

A verifier handed your summary, your diff rationale, or your transcript will retrace your reasoning and agree with it. That is not a second opinion; it is the same opinion at twice the price.

Give it exactly three things: the rule the result has to satisfy, the input, and the output produced. Not how the output was arrived at, and not what you expect it to conclude. Say up front which artifact will settle the disagreement if it returns something different.

Don't

  • Don't blend INFERRED and VERIFIED-RUNTIME claims in the same sentence without distinguishing them.
  • Don't treat "the tests pass" as proof for integration-shaped claims (wiring, event binding, device/scene state) — see CLAUDE.md "Claiming Done".

04 同仓库更多 Skills

sudoprivacy
sudoprivacy/sudowork

skill-creator

创建或更新 Sudowork 自定义技能,同时保留核心 skill creation / skill-design 最佳实践。用于用户要求创建新技能、优化已有技能、打包导入 Sudowork,或让技能展示在我的技能自定义技能中。

视觉设计Skill与智能体开发
★ 10
sudoprivacy
sudoprivacy/sudowork

shareone

Host HTML/Markdown pages and share PDF, Word, or PowerPoint docs as ShareOne short links. Use when publishing pages/docs, adding passwords/watermarks, comments, downloads, or updates.

文档处理演示文稿
★ 10
sudoprivacy
sudoprivacy/sudowork

image-generation

Generate new images or edit existing images using AI. Use this skill when the user wants to create, generate, draw, design, or produce an image from a text description, OR when they want to modify, edit, alter, or transform an existing image (e.g. 'generate a picture of...', 'create an image', 'draw me a...', 'edit this image', 'change the background', 'modify the above picture', '生成图片', '画一张', '修改图片', '编辑上面的图').

图像与多媒体
★ 10
sudoprivacy
sudoprivacy/sudowork

image-analysis

Analyze, describe, or answer questions about image content using vision AI. Use this skill when the user asks anything about an image — what it shows, what's in it, reading text/diagrams, identifying objects, or any question referencing a previous image (e.g. 'what is in this image', 'read the text in this screenshot', 'explain this diagram', 'tell me about the image above', '识别图片', '分析图片内容').

图像与多媒体
★ 10
sudoprivacy
sudoprivacy/sudowork

auto-login

Log in to a website automatically using credentials saved in the local key store. Use when the user wants unattended/repeat login to a site (no re-scanning QR, no re-typing passwords), e.g. '帮我自动登录这个网站', 'set up auto-login for X', '记住这个网站的登录'. The plaintext password is NEVER seen by you — the user fills it in 秘钥管理 and sudowork fills the form itself.

★ 10
sudoprivacy
sudoprivacy/sudowork

video-subtitles

Generate timed subtitles from video or audio, translate their text, and burn subtitles into a new video. Use for captions, SRT, video subtitles, or adding translated subtitles in Sudowork desktop or WebUI cloud conversations.

图像与多媒体
★ 10