audit-layout
0
总安装量
1
周安装量
安装命令
npx skills add https://github.com/dthompson-jti/safety-check-app-concept --skill audit-layout
Agent 安装分布
amp
1
cline
1
opencode
1
cursor
1
continue
1
kimi-cli
1
Skill 文档
Audit Layout
Review layout consistency across the codebase.
When to Use
- After adding new components
- Periodic visual consistency check
- Before releases
Approach
Step 1: Project Invariants (Required)
Before auditing, check docs/knowledge-base/ for project-specific constraints:
SPEC-SPACING.mdâ spacing token mandatesRULES-UI.mdâ layout rules and prohibitions- Flag any violation of documented invariants as Critical priority.
Step 2: Focus Areas
- Spacing: Consistent use of
var(--spacing-*)tokens - Alignment: Items properly aligned within containers
- Grid: Correct use of grid/flex layouts
- Margins: No rogue external margins (use parent
gap)
Checklist
- All spacing uses tokens, no magic numbers
- Parent containers use
gapfor child spacing - No external margins on child components
- Alignment consistent within sections
- Responsive behavior appropriate
Output
Findings report with specific file:line citations.