Skip to content
Back to skills

Agentic Architecture Cityfish91159 Maihouses

ASecurity

Enforces high-level architectural thinking, separation of concerns, and scalability checks before coding.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 4, 2026
developmentgoreactapidatabasefrontendsecurityperformance

Works with

  • api

Security analysis

A100/100

Scanned June 4, 2026

npx -y skills add majiayu000/claude-skill-registry --skill agentic-architecture-cityfish91159-maihouses --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agentic Architecture Cityfish91159 Maihouses?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agentic Architecture Cityfish91159 Maihouses
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-agentic-architecture-cityfish91159-maihouses/badge)](https://www.skillsdirectory.com/skills/majiayu000-agentic-architecture-cityfish91159-maihouses)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agentic_architecture
description: Enforces high-level architectural thinking, separation of concerns, and scalability checks before coding.
allowed-tools: Read, Edit
---

# Agentic Architecture Protocol

## 1. Think Before You Code
Before implementing any feature that spans multiple files:
1.  **Analyze Data Flow**: Where does data come from? Where does it go?
2.  **Define Interfaces**: creating `types/*.ts` is often the best first step.
3.  **Check Boundaries**: Ensure API logic stays in `api/`, UI in `components/`, and business logic in `services/` or `hooks/`.

## 2. Scalability & Performance Checks
- **Database**:
    - Are we fetching 1000 items to filter 10? (Use DB filters instead).
    - Is RLS (Row Level Security) compatible with this query?
- **Frontend**:
    - Are we causing unnecessary re-renders? (Use `React.memo`, `useCallback` appropriately).
    - Is this component becoming a "God Component"? (Break it down).

## 3. The "Three-Tier" Rule
For any non-trivial feature, verify you have these three layers:
1.  **Data Layer**: Types + API/Service (e.g., `user.types.ts`, `userService.ts`)
2.  **State Layer**: Hook or Store (e.g., `useUser.ts`)
3.  **View Layer**: Components (e.g., `UserProfile.tsx`)

## 4. Architecture Checklist
- [ ] Have I defined the types first?
- [ ] Is the business logic separated from the UI?
- [ ] Did I consider how this scales to 10,000 users/items?
- [ ] Is the database schema validated (if changing DB)?

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.