project-architecture

Enforce architectural decisions for the Political Authority Highlighter project.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures adherence to the project's architectural guidelines, preventing deviations that could lead to technical debt, maintainability issues, or security vulnerabilities.

Core Features & Use Cases

  • Database Schema Enforcement: Maintains a strict separation between public and internal database schemas, controlling data access.
  • Coding Standards: Enforces TypeScript strictness, preferred patterns (interfaces, type guards), and forbidden practices (any, @ts-ignore).
  • Dependency Management: Guides the process of adding new dependencies, ensuring they are necessary, maintained, and audited.
  • Infrastructure Cost Control: Verifies that infrastructure changes remain within budget.

Quick Start

Use the project-architecture skill to verify the database schema separation rules.

Frequently Asked Questions about project-architecture

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

FAQPage Schema
How do I enforce database schema separation between public and internal schemas?

You can enforce database schema separation by validating access rules to maintain strict boundaries between public and internal schemas. This controls data exposure and prevents unauthorized access, ensuring structural integrity across your database architecture during development.

What's the best way to enforce TypeScript strictness and prevent forbidden practices like any types?

Enforce TypeScript strictness by validating code against preferred patterns like interfaces and type guards. The mechanism actively blocks forbidden practices including `any` types and `@ts-ignore` comments to prevent technical debt and maintain codebase maintainability.

Does this architecture enforcement work with Next.js ISR on Vercel and Supabase infrastructure?

Yes, the architecture enforcement validates Next.js ISR on Vercel and managed infrastructure on Supabase. It monitors infrastructure changes against a defined cost ceiling and ensures job scheduling via pg-boss aligns with the project's established architectural guidelines.

How do I validate new dependencies before adding them to my project?

Validate new dependencies by guiding the addition process to ensure packages are necessary, actively maintained, and audited. This dependency management step prevents deviations that could introduce security vulnerabilities or uncontrolled infrastructure costs into your project.

Why use Drizzle ORM for architectural enforcement instead of other database tools?

Using Drizzle ORM for architectural enforcement ensures TypeScript strictness and database schema separation. Unlike unmanaged alternatives, it validates schema boundaries and integrates directly with pg-boss job scheduling to maintain structural integrity across your application.