Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

sgds-writingSGDS 写作

Agent Skill

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

总安装

336

周安装

14

GitHub Stars

12

下载量

112
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

简介

sgds-writing 用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写,帮助 Agent 提炼结构和统一术语。

  • 适用于生成或优化政府类技术文档,确保内容符合规范且易于理解。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。
  • 使用时应保留项目已有事实,避免将未确认信息写成确定结论;涉及对外文案时需控制语气。
  • 可结合来源仓库和 SKILL.md 继续核验功能细节,确保与项目需求匹配。

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

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