Token导航 LogoToken导航

Agent Skill · 前端设计

sgds-writing(SGDS 写作)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

sgds-writing 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 7,853。

总安装 336周安装 14GitHub Stars 12下载 112核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sgds-writing(SGDS 写作)
来源仓库:https://github.com/govtechsg/sgds-web-component
仓库路径:skills/sgds-writing
安装命令:
npx skills add https://github.com/govtechsg/sgds-web-component --skill sgds-writing
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/govtechsg/sgds-web-component --skill sgds-writing

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

sgds-writing 用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写,帮助 Agent 提炼结构和统一术语。适用于生成或优化政府类技术文档,确保内容符合规范且易于理解。通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。

使用时应保留项目已有事实,避免将未确认信息写成确定结论;涉及对外文案时需控制语气。可结合来源仓库和 SKILL.md 继续核验功能细节,确保与项目需求匹配。

来源仓库内路径:skills/sgds-writing

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/govtechsg/sgds-web-component --skill sgds-writ…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

sgds-writing 怎么安装?

在终端执行 npx skills add https://github.com/govtechsg/sgds-web-component --skill sgds-writing。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

sgds-writing 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

sgds-writing 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

sgds-writing 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

sgds-writing 用的人多吗?

公开数据是累计安装 336 次,近一周安装 14 次,下载 112 次,GitHub 12 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

sgds-writing 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
sgds-writing

SGDS 写作 · 本页

33612需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

SGDS Writing Guide

Content standards for government digital products built with the Singapore Government Design System. Apply these rules to all UI copy, documentation, tooltips, labels, error messages, and any written content that accompanies SGDS components.


Tone and voice

Write as a trusted, competent partner — not as a bureaucracy. GovTech's voice is:

  • Clear — say exactly what you mean in as few words as needed
  • Direct — address the reader as "you"; use active voice
  • Respectful — treat readers as capable adults; do not over-explain
  • Purposeful — every sentence earns its place; remove filler

Avoid corporate jargon ("leverage", "synergise", "holistic approach"), hollow intensifiers ("very", "extremely", "crucial"), and vague forward-looking language ("innovative", "cutting-edge", "future-proof") unless the context genuinely calls for them.

Preferred: We help agencies share data securely. Avoid: We leverage cutting-edge, innovative solutions to holistically enable seamless data exchange across government agencies.


Spelling

Use UK English spelling throughout.

UK (correct)US (avoid)
colourcolor
centrecenter
programmeprogram (unless referring to software)
organisationorganization
recogniserecognize
analyseanalyze
cataloguecatalog
licence (noun)license (noun)
license (verb)licence (verb)
travelledtraveled
fulfilfulfill
practise (verb)practice (verb)
practice (noun)practise (noun)
Spell-check setting: set your editor and CI spell checker to en-GB. In VS Code, set "editor.language": "en-GB" or use the Spell Right extension with "spellright.language": ["en-GB"].

See → reference/spelling.md for a full word list.


Capitalisation

Use sentence case for all headings, labels, button text, navigation items, error messages, and body copy — unless a rule below explicitly overrides it.

Sentence case means: capitalise the first word and proper nouns only.

Correct:

  • Submit your application
  • View all services
  • Error: file size exceeds the limit

Incorrect (title case):

  • Submit Your Application
  • View All Services
  • Error: File Size Exceeds the Limit

Exceptions where capitalisation is required

  • Proper nouns: GovTech, SingPass, CorpPass, Smart Nation, Singapore, Ministry of Finance
  • Acronyms that are always written in capitals: API, ICT, UI, UX, PDF, URL
  • Product and system names that have an established capitalisation: Singpass, CorpPass, MyInfo
  • The word "I" when used as a pronoun

Do not capitalise

  • Job titles used descriptively: "the director approved the request" (capitalise only when used as a title directly before a name: "Director Jane Tan approved the request")
  • Government services or programmes used generically: "the digital identity programme", "the data-sharing initiative"
  • Seasons, directions, or concepts: "the autumn release", "head north on the main road"

Punctuation

No em dash

Do not use the em dash (—) under any circumstances. It creates visual noise and is often misread or skipped by screen readers.

Alternatives:

Instead ofUse
The form — which is required — must be submitted by Friday.The form, which is required, must be submitted by Friday.
Submit before Friday — or your application will lapse.Submit before Friday. Otherwise, your application will lapse.
Three options — email, phone, or in person — are available.Three options are available: email, phone, or in person.

Use a colon, comma pair, or a new sentence. Never an em dash.

Commas

Use the Oxford comma (serial comma) in lists of three or more items.

Correct: You will need your NRIC, passport, and proof of address. Incorrect: You will need your NRIC, passport and proof of address.

Hyphens and en dashes

  • Use a hyphen (-) for compound modifiers before a noun: "user-friendly interface", "end-to-end encryption"
  • Use an en dash (–) only for number ranges: "pages 10–15", "2020–2024"
  • Do not use an en dash as a substitute for an em dash

Apostrophes

  • Use for possessives: the agency's portal, the user's profile
  • Do not use for plurals: APIs not API's, PDFs not PDF's

Colons and semicolons

  • Colons introduce lists or explanations. Do not capitalise the word after a colon unless it is a proper noun or the start of a full sentence that stands alone.
  • Use semicolons sparingly. Prefer two short sentences over a semicolded compound sentence.

Grammar

Active voice

Prefer active voice. The subject acts; it is not acted upon.

Active: The system sends a confirmation email. Passive: A confirmation email is sent by the system.

Passive voice is acceptable when the actor is unknown, irrelevant, or less important than the action: "Your data is encrypted at rest."

No contrastive negation

Do not use contrastive negation — the pattern "not X, but Y" or "not only X but also Y". It adds a negation step that slows reading.

Avoid:

  • Not a bug tracker, but a full project management tool.
  • This is not optional, but mandatory.
  • We do not just build tools — we build trust.

Preferred:

  • A full project management tool that also tracks bugs.
  • This is mandatory.
  • We build tools that earn trust.

Sentence length

Aim for sentences under 20 words. If a sentence needs a clause to clarify another clause, split it into two sentences.

Parallel structure

Items in a list, heading pairs, and button labels must follow the same grammatical form.

Correct (all verb phrases):

  • Create a new account
  • Reset your password
  • View your transaction history

Incorrect (mixed forms):

  • Create a new account
  • Password reset
  • Viewing your transaction history

Contractions

Do not use contractions in any content. Write out the full form at all times.

Correct: You do not need to create an account. Incorrect: You don't need to create an account.

Correct: We have updated the interface. Incorrect: We've updated the interface.

Note: This is a deliberate departure from most product design system guides. GOV.UK, Canada.ca, Shopify Polaris, and Apple HIG all recommend using contractions on the grounds that they sound more natural. We avoid them to maintain formal, consistent language appropriate for official Singapore Government products, and to eliminate ambiguity (for example, "it's" vs "its").

Modal verbs — must, need to, should, may

Use modal verbs precisely. The wrong choice creates unintended legal obligations or false reassurances.

WordWhen to useExample
MustLegal obligation — the user has no choiceYou must submit the form by 31 January.
Need toAn administrative step the user is expected to completeYou need to verify your email before signing in.
ShouldA recommendation — the user is advised but not obligatedYou should save your progress regularly.
MayPermitted but optionalYou may attach supporting documents.

Do not use "must" for administrative steps — it implies a legal consequence that may not exist. Do not use "should" when the step is actually required.

Numbers

  • Spell out numbers one to nine; use numerals for 10 and above.
  • Always use numerals for: percentages (5%), currency ($10), measurements (3 MB), and version numbers (version 2).
  • Use commas in numbers of 1,000 or more: 1,000 not 1000.
  • Use numerals for ranges even if both numbers are below 10: "3–9 working days".

Dates and times

  • Dates: 1 January 2025 (day month year, no ordinal suffixes — not "1st January")
  • Times: 9am, 3:30pm (no space between number and am/pm)
  • Date ranges in prose: 1 to 3 January 2025 (write "to", not an en dash)
  • Date ranges in tables and compact UI elements: 1–3 Jan 2025 (en dash is acceptable where space is limited)

Plain language principles

  1. Lead with the most important information. Put the key point in the first sentence.
  2. One idea per paragraph. If a paragraph covers two ideas, split it.
  3. Cut filler. Remove "please note that", "it should be noted", "in order to", "at this point in time".
  4. Prefer short words. Use "use" not "utilise", "help" not "facilitate", "buy" not "procure", "show" not "demonstrate".
  5. Avoid nominalisations. Change "make a decision" to "decide"; "provide assistance" to "help"; "conduct an investigation" to "investigate".
  6. Do not use "please" in instructions. It adds no information and reads as hedging. Write "Submit the form" not "Please submit the form". The exception is expressions of genuine courtesy in transactional emails or formal correspondence.
  7. Do not use subjective adjectives. Do not tell users that something is "important", "easy", "simple", "quick", or "exciting". If it is important, show why. If it is simple, let the design demonstrate that. Subjective claims that cannot be verified erode trust.

UI copy patterns

Buttons and calls to action

  • Use verb phrases: "Submit form", "Download report", "Sign in"
  • Do not use vague labels: "Click here", "OK", "Go"
  • Do not add punctuation to button labels

Error messages

  • State what happened and what the user should do next.
  • Do not blame the user.

Correct: The file is too large. Upload a file under 5 MB. Incorrect: You uploaded a file that is too large. Please upload a smaller file.

Empty states

  • Explain why the space is empty and offer a next step.

Correct: No applications yet. Start your first application. Incorrect: Nothing here.

Tooltips and helper text

  • Keep tooltips to one sentence.
  • Helper text below a field explains the format or constraint, not a restatement of the label.

Label: Date of birth Helper text: Use DD/MM/YYYY format Not: Enter your date of birth in DD/MM/YYYY format

Loading and status messages

  • Use present progressive: "Loading your results…", "Saving changes…"
  • Confirm success with past tense: "Changes saved.", "Application submitted."

Accessibility considerations

  • Do not rely on colour alone to convey meaning — always pair colour with text.
  • Alt text for images should describe function, not appearance: "GovTech logo" not "blue rectangular image with text".
  • Link text must make sense out of context: "Download the annual report (PDF, 2 MB)" not "click here".
  • Avoid directional instructions that rely on visual layout: "see the section on the right" does not work for screen-reader users.

Reference files

TopicFile
UK vs US spelling word list→ reference/spelling.md
Grammar rules quick reference→ reference/grammar.md
Punctuation quick reference→ reference/punctuation.md
Word choice and plain language→ reference/word-choice.md

平台分布

Codex

35.76%
按下载量换算40

Claude

33.97%
按下载量换算38

Cursor

18.06%
按下载量换算20

Gemini CLI

9.68%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills