Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Architecture Audit

ASecurity

架構文件稽核。比對 CLAUDE.md 記錄與實際程式碼結構,找出差異並建議更新。大型 refactor 完成後或 OpenSpec 歸檔時手動執行。

2 stars
0 votes
0 copies
0 views
Added 9/22/2026
developmentbashvue

Works with

cli

Security Analysis

A100/100

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add seikaikyo/dash-skills --skill architecture-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Architecture Audit?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Architecture Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/seikaikyo-architecture-audit/badge)](https://www.skillsdirectory.com/skills/seikaikyo-architecture-audit)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: architecture-audit
description: 架構文件稽核。比對 CLAUDE.md 記錄與實際程式碼結構,找出差異並建議更新。大型 refactor 完成後或 OpenSpec 歸檔時手動執行。
source: dashai (自建)
updated: 2026-03-28
---

# Architecture Audit (架構文件稽核)

## When to Use

在以下情況使用此 Skill:
- 大型 refactor 完成後
- OpenSpec 歸檔時
- 新增/刪除多個檔案後
- 手動執行 `/architecture-audit`

## 稽核流程

### Step 1: 讀取 CLAUDE.md

```bash
cat CLAUDE.md
```

確認文件存在。若不存在,建議先建立。

### Step 2: 掃描實際結構

```bash
# 前端
ls -R src/ | head -100

# 後端
ls -R *.py **/*.py | head -100

# 路由數量
grep -c "path:" src/router/index.ts 2>/dev/null || true
```

### Step 3: 比對差異

檢查以下項目:

| 項目 | 方法 |
|------|------|
| 新增的目錄/檔案 | 實際有但 CLAUDE.md 未記錄 |
| 刪除的目錄/檔案 | CLAUDE.md 記錄但實際已不存在 |
| 路由數量 | CLAUDE.md 記錄數 vs 實際數 |
| 依賴版本 | package.json/requirements.txt vs CLAUDE.md |
| 元件數量 | 實際元件數 vs CLAUDE.md 記錄 |

### Step 4: 輸出報告

```
架構稽核報告
===========
專案: {project_name}
日期: {date}

差異:
+ src/views/NewPage.vue (未記錄)
- src/views/OldPage.vue (已刪除)
~ 路由數量: 文件記 22, 實際 25

建議更新:
1. CLAUDE.md 目錄結構段落加入 NewPage
2. 移除已刪除的 OldPage 記錄
3. 更新路由數量為 25
```

### Step 5: 使用者確認後更新

- 使用者確認 → 直接更新 CLAUDE.md
- 使用者拒絕 → 跳過

## CLI 指令

```bash
# 快速檢查
dash architecture check .

# 詳細差異
dash architecture diff .

# 全專案掃描
dash architecture check --all
```

## 注意事項

- 此 skill 不修改程式碼,只更新文件
- CLAUDE.md 的目錄結構是參考,不需要列出每個檔案
- 重點放在結構性變化(新增/刪除目錄、路由數量、依賴版本)

Attribution

seikaikyoseikaikyo
View sourceMore from seikaikyo →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284072 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2192 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →