AGENT SKILL

yao-copyright-skill

Use when adding or auditing Yao copyright comment headers for an agent skill package, especially SKILL.md, README.md, references, prompts, templates, examples, scripts, YAML, or TOML files.

License 许可
MIT
最近更新
2026-10-14
Stars
★ 1.3k
Forks
145

01 前言 Front Matter

name
yao-copyright-skill
description
Use when adding or auditing Yao copyright comment headers for an agent skill package, especially SKILL.md, README.md, references, prompts, templates, examples, scripts, YAML, or TOML files.

02 资源文件 5

03 SKILL.md 正文

<!-- Copyright © 2026 姚金刚. All rights reserved. Project: yao-copyright-skill Created by: 姚金刚 Date: 2026-05-16 X: https://x.com/yaojingang -->

Yao Copyright Skill

Overview

Add copyright comment headers to a specified skill package without breaking route metadata, executable shebangs, or strict data formats.

When To Use

Use this when the user asks to:

  • 给某个 Skill 增加版权注释、版权声明、作者注释
  • 批量处理 SKILL.md、README.md、references/、prompts/、templates/ 或 examples/
  • audit whether a skill package already has Yao copyright comments
  • add headers to scripts or YAML/TOML configs while skipping JSON and lock files

Do not use this for legal drafting, license selection, or visible website footer copy unless the user explicitly asks for that output.

Workflow

  1. Identify the target skill directory. If the user only names a skill, resolve its installed path before editing.
  2. Read references/copyright-comment-policy.md for target files, skip rules, and comment styles.
  3. Run a dry run first:
python3 scripts/add_copyright_comments.py /path/to/target-skill --dry-run
  1. Apply the core Markdown pass unless the user requested a broader scope:
python3 scripts/add_copyright_comments.py /path/to/target-skill
  1. For scripts and YAML/TOML configs, use the full scope:
python3 scripts/add_copyright_comments.py /path/to/target-skill --scope all
  1. Verify with git diff or a targeted file read. Confirm SKILL.md frontmatter still starts at line 1.

Defaults

  • Project defaults to the target skill directory name.
  • Date defaults to 2026-05-16.
  • Author defaults to 姚金刚.
  • X defaults to https://x.com/yaojingang.
  • JSON, lock files, generated files, caches, build outputs, and reports/ are skipped.

Output Contract

Report which files changed, which files were skipped because they already had a notice, and any files deliberately left untouched because comments would be unsafe.

04 同仓库更多 Skills

yaojingang
yaojingang/yao-open-skills

yao-weread-skill

当用户需要分析微信读书阅读历史、生成读书报告、可视化阅读统计、笔记、书架、词云、热力图、雷达图,或导出精排 HTML 报告时使用。也适用于创建 AI 创业者示例阅读报告。不用于通用图书推荐,或不生成报告的原始微信读书 API 查询。

Skill与智能体开发
★ 1.3k
yaojingang
yaojingang/yao-open-skills

yao-websecurity-skill

Use when auditing an authorized website, SaaS, API, AI app, local code path, GitHub repo, staging URL, or owned runtime for security risks, vulnerability checklist scoring, static review, dynamic review, active validation, or Chinese security reports.

Skill与智能体开发
★ 1.3k
yaojingang
yaojingang/yao-open-skills

yao-tutorial-skill

Create standalone beginner tutorial packages from a topic or supplied references, with adaptive research, course-style outline design, chapter visuals, and Markdown/DOCX/PDF/HTML exports. Use for textbook-like tutorials, course guides, teaching documents, or long beginner guides; not for quick answers, link summaries, pure diagrams, or file conversion.

文档处理资料检索与研究
★ 1.3k
yaojingang
yaojingang/yao-open-skills

yao-positioning-skill

Generate evidence-aware positioning reports for personal IPs, courses, products, services, brands, or companies by combining positioning theory, course-marketing analysis, user intent, competitor research, market demand, and verifiable advantages. Use when users ask for 定位、差异化分析、优势分析、心智定位、品类定位、竞品定位研究、定位报告或再定位建议. Do not use for slogan-only copywriting, generic marketing ideas, standalone market research without a positioning recommendation, or brand knowledge-base construction.

市场营销营销推广资料检索与研究
★ 1.3k
yaojingang
yaojingang/yao-open-skills

yao-open-skills-sync

Manage the yao-open-skills public collection. Use this skill whenever the user wants to evaluate whether a local skill should be open sourced, import a local skill into the yao-open-skills repository, register which skills are already public, track GitHub sync status, or update the collection README and catalog after adding or refreshing a skill.

Skill与智能体开发
★ 1.3k
yaojingang
yaojingang/yao-open-skills

yao-naval-almanack-skill

Improve career choices, service/productization, reusable income/ownership, long-term partnerships, attention allocation, and desire/social-comparison tradeoffs using Naval principles, even without naming Naval. 中文:工作选择、找专长、重复交付产品化、长期合作、忙却无积累、目标取舍、同龄人比较。Also explain, verify, and apply 《纳瓦尔宝典》, Naval Ravikant, or quotes. Use for substantive advice; skip generic planning/editing, coding, arithmetic, vague anxiety, trading, clinical care, and passing name mentions. Honor explicit opt-outs.

★ 1.3k