一键导入
copyright-headers
Add or update Apache License 2.0 copyright headers to Go source files, configuration files (YAML, TOML), shell scripts, and Makefiles
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add or update Apache License 2.0 copyright headers to Go source files, configuration files (YAML, TOML), shell scripts, and Makefiles
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a new runtime implementation to the kdn runtime system
Guide to using the instances manager API for workspace management and project detection
Guide to understanding and working with the kdn runtime system architecture
Guide to configuring the Podman runtime including image setup, agent configuration, and containerfile generation
Conventional Commit Message Generator
Guide to the autoconf package — how secret detection, filtering, and the runner are wired together, and how to extend the system with new detector types
| name | copyright-headers |
| description | Add or update Apache License 2.0 copyright headers to Go source files, configuration files (YAML, TOML), shell scripts, and Makefiles |
| argument-hint | [files to examine] |
Add copyright headers to Go source files and configuration files.
This skill automatically adds Apache License 2.0 copyright headers to files. It supports:
.go).yaml, .yml, .toml).github/workflows/*.yml, .github/workflows/*.yaml).sh)When this skill is invoked:
Identify target files:
.git directory, go.mod, go.sumCheck for existing headers and update years:
Copyright (C) 2024) → Update to range: Copyright (C) 2024-2026Copyright (C) 2024-2025) → Update end year: Copyright (C) 2024-2026Copyright (C) 2024-2024) → Update to range: Copyright (C) 2024-2026Copyright (C) 2026) → No change neededCopyright (C) 2024-2026) → No change neededAdd the copyright header based on file type:
/**********************************************************************
* Copyright (C) 2026 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* SPDX-License-Identifier: Apache-2.0
**********************************************************************/
# Copyright (C) 2026 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
Special handling:
#!/..., place the copyright header AFTER the shebang, with a blank line between--- at the top, place the copyright header BEFORE the ---Report results:
Add headers to all Go files and config files:
/copyright-headers
Add headers to specific files:
/copyright-headers main.go root.go
Add headers to all Go files in a directory:
/copyright-headers pkg/cmd/**/*.go