一键导入
copyright-headers
Copyright header rules for generated source files. Applies the company name from providers.toml to new files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Copyright header rules for generated source files. Applies the company name from providers.toml to new files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Multi-agent delegation rules, three-phase workflow (Plan/Build/Review), model selection, collaboration gates, and Ralph Loop integration.
Autonomous build driver after SDD spec approval: phase-scoped headless build sessions, driver-owned commits, cross-provider review gates, milestone pauses, and fail-closed escalation — under explicit opt-in autonomy profiles.
When and how to ask clarifying questions before implementing. Data model review gate and ambiguity resolution rules.
Quality gates, prohibited patterns, verification discipline, and self-audit rules for all code generation and review sessions.
Cross-copilot portable conventions: read before write, minimal changes, git discipline, project structure, and priority rules.
Derive a unique, domain-fit design direction and enforce design-token + anti-slop discipline. Read/author DESIGN.md before building any UI; override framework defaults so output is bespoke by construction, not generic.
| name | copyright-headers |
| description | Copyright header rules for generated source files. Applies the company name from providers.toml to new files. |
When a project's CLAUDE.md contains a ## Copyright & Licensing section,
add a copyright header to every new source file you create.
Check for a ## Copyright & Licensing section in the project CLAUDE.md
(the one in the project root — not the global ~/.claude/CLAUDE.md).
If present, extract:
- **Company**: … line- **License**: … lineApply to new files with these extensions:
.py, .sh, .bash, .java, .kt, .js, .ts, .tsx, .jsx,
.go, .rs, .c, .cpp, .h, .css, .scss, .html, .xml,
.yaml, .yml, .toml
Do not add headers to:
@generated, Code generated, or similar markers)__init__.py files (conventionally empty or trivial)package-lock.json, poetry.lock, yarn.lock, etc.)Compose the header as two lines:
Copyright (c) <year> <Company> - All Rights Reserved.This software may be used and distributed according to the terms of the <License> license.Use the current calendar year.
Python / Shell / YAML / TOML / Ruby — hash comments:
# Copyright (c) <year> <Company> - All Rights Reserved.
# This software may be used and distributed according to the terms of the <License> license.
Java / Kotlin / JavaScript / TypeScript / Go / Rust / C / C++ — line comments:
// Copyright (c) <year> <Company> - All Rights Reserved.
// This software may be used and distributed according to the terms of the <License> license.
HTML / XML — block comment:
<!-- Copyright (c) <year> <Company> - All Rights Reserved. -->
<!-- This software may be used and distributed according to the terms of the <License> license. -->
CSS / SCSS — block comment:
/* Copyright (c) <year> <Company> - All Rights Reserved. */
/* This software may be used and distributed according to the terms of the <License> license. */
Place the header at the very top of the file, before any imports or declarations.
Exceptions:
#!/…), place the header on line 2.<?xml or <!DOCTYPE, place the header after that line.