property-building-guard

Enforce architectural rules for property and building code changes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/StudioVBG/TALOK --skill property-building-guard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: property-building-guard
Source: https://github.com/StudioVBG/TALOK/tree/main/.cursor/skills/property-building-guard
Command: npx skills add https://github.com/StudioVBG/TALOK --skill property-building-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforces architectural rules and patterns for the property/building system to prevent regressions, ensuring safe evolutions of the codebase and stability across properties, buildings, building_units, property API routes, wizard store, RLS policies, and database types.

Core Features & Use Cases

  • Enforces critical guardrails including RLS enforcement with user_profile_id(), zero-use of auth.uid() in policies, and consistent admin/tenant access controls.
  • Applies rate-limiting on mutation routes, uses structured logging, and enforces strict type safety and Zod validation across property/building-related code.
  • Use case: when creating or modifying properties, buildings, or related APIs and migrations, this guard prevents regressions by validating patterns and configurations.

Quick Start

Activate this guard whenever touching property or building code and follow its rules during development and code reviews.

Frequently Asked Questions about property-building-guard

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

FAQPage Schema
How do I enforce RLS guardrails and prevent auth.uid() in database policies?

To enforce RLS guardrails, apply this skill when modifying property or building code. It mandates using user_profile_id() instead of auth.uid() and validates consistent admin and tenant access controls to prevent security regressions.

What is the best way to enforce Zod validation and zero-any typing for property APIs?

The best way to enforce strict type safety is by applying this guard during development. It mandates zero-use of any types and validates Zod-based schemas across property and building-related code to ensure structural integrity.

How do I add rate limiting on mutation routes for a property and building system?

To add rate limiting on property mutation routes, activate this architectural guard. It enforces rate-limiting rules on API mutations, uses structured logging, and validates correct API route patterns to ensure safe operations.

When do I need architectural guardrails for properties, buildings, and unit migrations?

You need architectural guardrails when creating or modifying properties, buildings, building_units, or related APIs and migrations. They prevent regressions by validating patterns, wizard store stability, and database type configurations.

Does this guardrail tool work with my existing property wizard store and API routes?

Yes, this guardrail integrates with your existing setup by validating code in app/api/properties/, app/api/buildings/, features/properties/, and the wizard store. It ensures stability and enforces correct API route patterns during modifications.

Why does my property building code fail code review without strict type safety?

Property building code fails review without strict type safety because architectural rules require zero-any typing and Zod validation. Activate this guard during reviews to validate configurations and prevent structural regressions.