Add the project's canonical SPDX license header to a requested source file or to source files under a requested directory. Use when asked to add or ensure license headers on files that may not already have one.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Add the project's canonical SPDX license header to a requested source file or to source files under a requested directory. Use when asked to add or ensure license headers on files that may not already have one.
Add License Header
Determine the target files from the request:
For a file path, target that file.
For a directory, target every file beneath it whose extension matches the project's source extensions.
Read the first 20 lines of every target file and look for SPDX-License-Identifier.
If that string is present, skip the file. Never add a second SPDX license header.
Otherwise, insert these exact lines at the very top of the file, before all existing content: