project-guardian

Orchestrate multi-stage validation of code changes against PRD, architecture, and compliance rules.

1|1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/rodrigorjsf/political-authority-highlighter --skill project-guardian
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-guardian
Source: https://github.com/rodrigorjsf/political-authority-highlighter/tree/main/.gemini/antigravity/skills/project-guardian
Command: npx skills add https://github.com/rodrigorjsf/political-authority-highlighter --skill project-guardian

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill acts as the ultimate gatekeeper, ensuring all development work strictly adheres to the project's Product Requirements Document (PRD) and architectural guidelines, preventing non-compliant code from entering the codebase.

Core Features & Use Cases

  • Orchestrates Sub-Skills: Delegates specific checks to specialized skills (domain rules, architecture, compliance, etc.) for comprehensive validation.
  • Enforces Scope: Immediately rejects features or changes that fall outside the defined project scope (MVP and post-MVP).
  • Validates Architecture & Design: Ensures adherence to import boundaries, endpoint security, and frontend design principles.
  • Automated Pre-PR Checks: Runs essential build, type-checking, and linting commands to catch errors early.
  • Use Case: Before implementing a new API endpoint, you would trigger this Skill to ensure it complies with all domain rules, architectural patterns, and security best practices defined for the "Political Authority Highlighter" project.

Quick Start

Use the project-guardian skill to validate a new feature implementation against all project requirements.

Frequently Asked Questions about project-guardian

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

FAQPage Schema
How do I enforce PRD compliance and architecture rules before merging code changes?

PRD compliance is enforced by orchestrating a multi-stage validation process that checks code changes against domain rules, architecture boundaries, and compliance requirements before allowing progression. It delegates specific checks to sub-skills to ensure comprehensive coverage.

What's the best way to automate pre-PR checks for build, type-checking, and linting errors?

Automated pre-PR checks run essential build, type-checking, and linting commands to catch errors early. This validation stage ensures code quality and verifies that all changes adhere to the defined project scope before a pull request is created.

How does architectural validation work for import boundaries and endpoint security?

Architectural validation works by verifying that code changes adhere to defined import boundaries and endpoint security best practices. It ensures new features comply with domain rules and architectural patterns specified for the project.

Can I reject out-of-scope features automatically during code review?

Out-of-scope features are automatically rejected during code review by enforcing strict project scope boundaries. Any changes falling outside defined MVP and post-MVP scope are immediately blocked from entering the codebase.

Does multi-stage code validation work with specialized sub-skills for domain rules and compliance?

Multi-stage code validation works by delegating specific checks to specialized sub-skills for domain rules, architecture, compliance, and frontend design. This orchestration enforces critical invariants like political neutrality and data privacy throughout the process.