hydra-gate-spdx

Enforce mandatory @license and @copyright PHPDoc tags on PHP files in the lib directory.

1|1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ConductionNL/shillinq --skill hydra-gate-spdx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hydra-gate-spdx
Source: https://github.com/ConductionNL/shillinq/tree/main/.claude/skills/hydra-gate-spdx
Command: npx skills add https://github.com/ConductionNL/shillinq --skill hydra-gate-spdx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents PR rejections by ensuring all PHP files strictly adhere to the required Conduction project documentation standards regarding license and copyright attribution.

Core Features & Use Cases

  • Automated Compliance Checking: Scans the lib directory to identify PHP files missing mandatory @license and @copyright PHPDoc tags.
  • Standardized Formatting: Provides clear instructions and templates for maintaining consistent file headers across the codebase.
  • Use Case: Before pushing code to the repository, use this Skill to verify that all new or modified PHP files contain the required legal headers, avoiding common build pipeline failures.

Quick Start

Run the hydra-gate-spdx skill to scan the lib directory and identify any PHP files that are missing the required license or copyright documentation tags.

Frequently Asked Questions about hydra-gate-spdx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check PHP files for missing license and copyright PHPDoc tags?

You can check PHP files for missing license and copyright PHPDoc tags by running an automated scan of the lib directory using Unix grep utilities to pattern match file docblocks and identify non-compliant headers.

What is a PHPDoc compliance gate for CI CD pipelines?

A PHPDoc compliance gate is a CI CD pipeline validation step that enforces mandatory @license and @copyright tags on PHP files, ensuring project-wide legal compliance before source code integration.

Why does my pull request fail build pipeline checks for copyright headers?

Pull requests fail build pipeline checks when PHP files in the lib directory are missing mandatory @license or @copyright PHPDoc tags required by standardized project documentation rules.

Do I need any special dependencies to enforce copyright headers in PHP code?

No special dependencies are needed to enforce copyright headers; the validation operates using standard Unix grep utilities to perform pattern matching against PHP file docblocks.

Can I use this compliance gate to scan PHP files outside the lib directory?

No, this compliance gate specifically targets PHP files within the lib directory to verify required legal headers and does not scan other project directories by default.