# License Header Adder

> Adds the standard open-source license header to new source files. Use involves creating new code files that require copyright attribution. Use when this capability is needed.

- Skill: `tomevault-io/license-header-adder` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/license-header-adder`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/license-header-adder/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/license-header-adder

---


# License Header Adder Skill

This skill ensures that all new source files have the correct copyright header.

## Instructions

1. **Read the Template**:
  First, read the content of the header template file located at `resources/HEADER_TEMPLATE.txt`.

2. **Prepend to File**:
  When creating a new file (e.g., `.go`), prepend the `target_file` content with the template content and change with the current year.

3. **Modify Comment Syntax**:
  - For C-style languages (Go), keep the `/* ... */` block as is.
  - For Shell or YAML, convert the block to use `#` comments.

---
> Source: [JulienBreux/run-cli](https://github.com/JulienBreux/run-cli) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-16 -->

