返回顶部
u

use-cliche-data-in-docs

Ensure documentation and examples use only generic, cliche placeholder data. Use when writing README files, updating docs folders, creating example code snippets, or editing markdown documentation. Prevents leaking real names, emails, domains, organization details, or sensitive data into public-facing documentation.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
77
下载量
0
收藏
概述
安装方式
版本历史

use-cliche-data-in-docs

# Use Cliche Data in Documentation When updating or writing documentation for a tool, **never include real data** that was provided in prompts, local configuration, scripts, task files, or any other implementation-specific source. Documentation must use only generic, commonly recognized placeholder data that cannot expose sensitive information. ## When to Use This Skill - Writing or updating README.md files - Creating documentation in docs/ folders - Adding code examples to markdown files - Writing CHANGELOG.md entries - Adding code comments in committed source files ## Why This Matters A tool's source code and local configuration often contain real names, real email addresses, real organization details, and real domain names. These values are necessary for the tool to function, but they have **no place in public-facing documentation**. Leaking real data into docs can expose: - Internal business names and contacts - Email addresses and domain names - Client or customer identifiers - Account names and credentials - Organization-specific terminology that reveals private operations ## Core Rule > **If data came from a prompt, a local file, a script, a config, or a task — it does NOT go into documentation.** > > Documentation examples use only well-known, fictional, or obviously placeholder data. ## What Counts as Real Data Any value that originates from: - **Local configuration files** (e.g., `config.json`, `.env`, account modules) - **Scripts and task files** (e.g., batch scripts, shell scripts, task runners) - **Prompt context** (e.g., data the user supplies when asking an agent to build or update the tool) - **Map or filter files** (e.g., JSON mappings, data extraction rules) - **Git-ignored files** (e.g., files excluded from version control that contain environment-specific values) ## Approved Placeholder Data for Documentation Use these generic, cliche substitutes in all documentation and examples: | Category | Approved Placeholder Examples | | --- | --- | | **People** | Jane Doe, John Smith, Alice, Bob | | **Email addresses** | `jane.doe@example.com`, `admin@example.org` | | **Organizations** | Acme Corp, Contoso, Northwind Traders | | **Domains** | `example.com`, `example.org`, `test.local` | | **Addresses** | 123 Main Street, Suite 100, Springfield | | **Phone numbers** | `(555) 123-4567` | | **Accounts / usernames** | `demo-user`, `test-account` | | **File paths** | `accounts/acme.mjs`, `config/reports.json` | | **Project names** | My Project, Sample App, Demo Tool | ## How to Apply This Rule ### When Adding a Feature If you add a feature using real account data (e.g., a script named after a real client), document the feature using a fictional account name instead. **Real implementation file:** an account module configured for a specific business **Documentation example:** ```javascript // accounts/acme.mjs — Example account configuration export default { name: 'Acme Corp', email: 'reports@example.com', folder: 'INBOX', }; ``` ### When Updating Configuration Docs If a config file references real domains, real paths, or real credentials, replace every real value with a placeholder before including it in documentation. **Documentation example:** ```json { "host": "imap.example.com", "user": "admin@example.com", "folder": "INBOX/Reports", "outputDir": "./downloads" } ``` ### When Writing Script Examples If a script automates a task for a specific organization, the documentation example must use a generic organization name and generic parameters. **Documentation example:** ```batch @echo off REM Example: Run the extraction task for Acme Corp node extractEmail.mjs --account acme --task download ``` ## The Boundary Between Code and Docs | Context | Real Data Allowed? | | --- | --- | | Local scripts and config files used at runtime | Yes | | Git-ignored files with environment-specific values | Yes | | Prompt data provided to build or configure the tool | Yes (in code only) | | README.md, docs/ folder, and example templates | **No — use placeholders only** | | CHANGELOG.md entries | **No — describe changes generically** | | Code comments in committed source files | **No — keep generic** | ## One Exception A word from real data may appear in documentation **only** if it is a common English word used in its ordinary sense and **not** in the context of an example. For instance, the word "development" is acceptable in a sentence like "This tool is under active development" even if it also appears in a real organization name. ## Summary Documentation is public. Implementation data is private. Keep them separate. Every example in every doc file should pass a simple test: *could a stranger read this and learn nothing about the real users, clients, or organizations behind this tool?* If the answer is no, replace the data with cliche placeholders.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 use-cliche-data-in-docs-1775973008 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 use-cliche-data-in-docs-1775973008 技能

通过命令行安装

skillhub install use-cliche-data-in-docs-1775973008

下载 Zip 包

⬇ 下载 use-cliche-data-in-docs v1.0.0

文件大小: 2.87 KB | 发布时间: 2026-4-13 12:26

v1.0.0 最新 2026-4-13 12:26
- Initial release of the skill enforcing use of generic, cliche placeholder data in all documentation and code examples.
- Prevents accidental exposure of real names, emails, domains, organization details, or sensitive information in public-facing docs.
- Provides clear guidance on when and how to substitute placeholder data in READMEs, docs folders, code comments, and changelogs.
- Lists approved examples of cliche placeholder data for people, organizations, addresses, and more.
- Outlines the strict boundary between where real implementation data is allowed (private files) and where only placeholders must be used (public docs and committed examples).

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部