SuperAPI AI Directory

stc

Writing & research

View repository

Updated 10-28 16:11

About this skill

STC Simplified Technical Chinese

This skill generates, rewrites, and reviews Chinese according to the spec. Expression is natural, concise, and accurate by default, and the same meaning uses the same word. The rules are in rules/, the glossary is in dictionary/, and all paths are relative to the directory containing this skill.

Default expression

Every use of STC must also carry out the following requirements:

  • Use complete sentences and natural word order, and answer the question or deliver the result directly.
  • Remove pleasantries, repetition, and irrelevant explanations; stop when the information is sufficient.
  • Preserve facts, numbers, names, negations, permissions, and genuine uncertainty.
  • Expand according to the task. Complete documents and detailed explanations must meet the user's requirements.
  • When delivering a finished product, start with the adopted result; keep production and review records internal.
  • For task receipts, split into "Done", "Needs you", and "FYI" per C10 of for chat, and list user actions separately.

These requirements are built into STC; the specific rules are G14, G15, G20, G21, G22, plus the rules for the current scenario.

First use after installation

When the user chooses to use it via a link, read WEB.md, and confirm the rule-reading status and effective scope following the webpage guidance.

Post-installation onboarding must follow ONBOARDING.md : offer the default usage option and a document review experience, and wait for the user's choice.

The user may provide material, or authorize the agent to pick a document from the current project. The review scope and editing actions are subject to the user's authorization.

Step 1: Determine the scenario

Before writing, determine which type of text this is. Judge by reader and purpose:

Reader and purpose Scenario Rule file
The person in the conversation, reading the agent's reply for chat rules/for-chat.md
A person reading to understand content or follow instructions: reports, plans, manuals, weekly reports, meeting minutes, code comments, commit messages for document rules/for-document.md
The product's users, seeing it on a web page or app interface: buttons, labels, prompts, errors, notifications, empty states for web dev rules/for-web-dev.md
An agent reading to execute: system prompts, AGENTS.md, CLAUDE.md, skills, workflows for agents for instruction writing rules/for-instruction-writing.md
  • When a single task contains several types of text, each type must be judged separately. For example, a requirements document is written per for document, while the button text given in the document is written per for web dev.
  • When neither reader nor purpose can be determined clearly, judge by reader: if the reader is a model, use for instruction writing; if the reader is a product user, use for web dev; otherwise use for document.
  • Scenario selection is for internal execution. Explain the rules used only when the user asks about the method or when judgments differ.

Step 2: Read the rules and glossary

  1. Read rules/for-all.md. The general rules apply to all scenarios.
  2. Read the scenario file chosen in Step 1. When scenario rules and general rules conflict, the scenario rules take precedence.
  3. Read dictionary/avoid.yaml. Use only entries whose profiles field is empty or contains the current scenario.
  4. When writing interface text, or writing reminders such as warnings, cautions, and notes, read dictionary/recommended.yaml, and use action words and reminder levels according to the meanings in the table.
  5. When the project has a terminology list (the file name usually contains terms or "术语"), names must be written according to the terminology list.

Step 3: Handle according to the usage

Generate, rewrite, or review text according to the user's request.

Write

Write the text according to the rules, then complete the semantic review.

Rewrite

Rewrite the text provided by the user, preserving the original meaning:

  • The facts, numbers, proper names, and quotations in the original text must be preserved.
  • Words expressing the degree of certainty must be preserved: 可能, 也许, 大概, 通常.
  • Degree words must be replaced with numbers. When this number is not present in the original text or context, numbers must not be fabricated. In this case, delete the degree word, or write "【待补:提升了多少】", and list all pending items after the rewritten result. Reason: fabricated numbers are more harmful than vague adjectives.
  • Deliver the content requested by the user. When the user asks for an explanation, or when changes affect usage judgments, explain the main changes and their basis.

Review

Review the materials specified by the user. First give the report and specific corrections; when the user requests rewriting, then give the revised draft, and write back to the file according to the user's existing authorization.

The report must be written in the following order:

  1. State the main problem in one sentence, distinguishing items that need modification from items to be confirmed.
  2. Group by original sentence, giving the location, original sentence, reason for the problem, and specific correction. Place the rule number after the explanation.
  3. List separately the facts that the user needs to supplement. Missing data and subject names must be marked with "【待补:…】".
  4. The user can choose which corrections to adopt. Selected modifications can be executed directly without asking again.

When reporting the execution result of a review task, write the receipt according to C10. The review report itself uses the structure of this section.

Line-by-line diagnostics from command output must not be treated directly as the delivery report. Machine output is the basis for review; the agent must judge references, terminology, facts, and sentence meaning in context. Warnings can be judged as problems only after confirmation through context.

The check command provides a readable report by default.--format markdown can generate a Markdown report;--json provides a structured basis for programs and agents.

Step 4: Self-check

For ordinary conversations, self-check according to C8 before sending the reply. For files written within this task or materials specified by the user, when Node.js 18 or later can be run, use the check command:

node <本 skill 目录>/tools/cli.mjs check <文件> --profile <场景> --anti-echo

When installing with npx @daimonia/stc init , this skill directory is .claude/skills/stc/. When the text is not in a file, it can be passed to the check command via standard input. All errors reported by the check command must be fixed. Anti-Echo doubts must be reviewed in light of the reader and the page: delete redundant content, or record specific reasons for retaining necessary content. The format of the review file is shown in tools/README.md. After text changes, re-checking is required. Other warnings should be judged one by one.

Semantic review

Before delivery, the following must be checked item by item:

  • Every sentence helps the current reader understand, judge, or act; redundant exclusions, production notes, and self-justification have been deleted (G20).
  • The titles, body text, buttons, prompts, captions, and corner marks actually displayed on the page have all been reviewed item by item (W9).
  • The same thing is referred to by only one name (G1).
  • No "carry out, apply, grant, make, launch" plus noun (G4).
  • Degree words and vague quantifiers have been replaced with numbers or specific facts; all data has a basis in the original text or context (G5).
  • No marketing words, jargon, boilerplate, or slogan-style phrasing (G6, G7).
  • One sentence covers only one point, and no sentence exceeds 40 characters (G9, G12).
  • Words indicating the degree of certainty have not been deleted (G15).
  • Sentences are natural and grammatically complete, and their length varies with the content (G21).
  • The length meets the task requirements, and necessary steps and risk information have not been cut (G22).
  • The dialogue does not repeat conclusions, include tool narration, or use unnecessary templates (C7, C8, C9).
  • The task receipt clearly distinguishes completion results, user actions, and notifications; user actions have a real basis, and deliverables have an entry point (C10).
  • Person reference fits the scenario: in for document and for web dev, there is no "we" or "you"; in for web dev, there is also no "he," "she," "it," or "everyone" (D1, W1).
  • In for instruction writing, the only strength words are "must, must not, should, should not, may, need not, can, cannot" (I1).
  • Numbers use Arabic numerals and carry units; there is a space between Chinese and English and between Chinese and numbers (G18, G19).

Content that is not changed

  • Quotations and the user's original words, including the person reference in them.
  • Code, commands, file paths, and interface names.
  • Brand slogans and legal texts.
  • English text. STC only governs Chinese; English may refer to ASD-STE100.

References

  • Rules overview and numbering list:rules/README.md
  • Word list format and categories:dictionary/README.md