file-header-guardian
文件头三行契约注释。触发:create file、新建文件、编写代码。
Best use case
file-header-guardian is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. 文件头三行契约注释。触发:create file、新建文件、编写代码。
文件头三行契约注释。触发:create file、新建文件、编写代码。
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "file-header-guardian" skill to help with this workflow task. Context: 文件头三行契约注释。触发:create file、新建文件、编写代码。
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/file-header-guardian/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How file-header-guardian Compares
| Feature / Agent | file-header-guardian | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
文件头三行契约注释。触发:create file、新建文件、编写代码。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 文件头注释守护者
触发:创建代码文件,修改文件后检查头注释准确性。
## 模板
**TS/JS:**
```typescript
/**
* @input 依赖什么
* @output 提供什么
* @pos 系统地位
* ⚠️ 修改后同步:文件头 + 目录 CLAUDE.md
*/
```
**Python:**
```python
"""
@input 依赖什么
@output 提供什么
@pos 系统地位
⚠️ 修改后同步:文件头 + 目录 CLAUDE.md
"""
```
**Shell:**
```bash
# @input 依赖什么
# @output 提供什么
# @pos 系统地位
# ⚠️ 修改后同步:文件头 + 目录 CLAUDE.md
```
## 示例
```typescript
/**
* @input prisma.service 数据库连接
* @output UserService: create/update/delete
* @pos 用户模块核心
* ⚠️ 修改后同步:文件头 + 目录 CLAUDE.md
*/
export class UserService { }
```
## 豁免
配置文件(json/yaml)、样式(css)、生成文件(*.d.ts)、node_modules。
协作:本 skill 管文件,fractal-docs-generator 管目录。Related Skills
file-organization
Organize project files and folders for maintainability and scalability. Use when structuring new projects, refactoring folder structure, or establishing conventions. Handles project structure, naming conventions, and file organization best practices.
file-uploads
Expert at handling file uploads and cloud storage. Covers S3, Cloudflare R2, presigned URLs, multipart uploads, and image optimization. Knows how to handle large files without blocking. Use when: file upload, S3, R2, presigned URL, multipart.
file-path-traversal
This skill should be used when the user asks to "test for directory traversal", "exploit path traversal vulnerabilities", "read arbitrary files through web applications", "find LFI vu...
file-path-traversal-testing
This skill should be used when the user asks to "test for directory traversal", "exploit path traversal vulnerabilities", "read arbitrary files through web applications", "find LFI vulnerabilities", or "access files outside web root". It provides comprehensive file path traversal attack and testing methodologies.
azure-storage-file-share-ts
Azure File Share JavaScript/TypeScript SDK (@azure/storage-file-share) for SMB file share operations. Use for creating shares, managing directories, uploading/downloading files, and handling file metadata. Supports Azure Files SMB protocol scenarios. Triggers: "file share", "@azure/storage-file-share", "ShareServiceClient", "ShareClient", "SMB", "Azure Files".
azure-storage-file-share-py
Azure Storage File Share SDK for Python. Use for SMB file shares, directories, and file operations in the cloud. Triggers: "azure-storage-file-share", "ShareServiceClient", "ShareClient", "file share", "SMB".
azure-storage-file-datalake-py
Azure Data Lake Storage Gen2 SDK for Python. Use for hierarchical file systems, big data analytics, and file/directory operations. Triggers: "data lake", "DataLakeServiceClient", "FileSystemClient", "ADLS Gen2", "hierarchical namespace".
create-skill-file
Guides Claude in creating well-structured SKILL.md files following best practices. Provides clear guidelines for naming, structure, and content organization to make skills easy to discover and execute.
writing-config-files
Use this skill when you need to write configuration files in `src/config` for the Next.js app
when-profiling-performance-use-performance-profiler
Comprehensive performance profiling, bottleneck detection, and optimization system
devflow-file-standards
File naming conventions, directory structure, and YAML frontmatter standards for CC-DevFlow. Consolidates shared conventions from all agents.
constitution-guardian
Real-time Constitution compliance checker for devflow documents. Blocks partial implementations and hardcoded secrets during file editing.