.gemini/skills/project-structure-guide/SKILL.md
--- source: ../../../../skills/project-structure-guide/SKILL.md source_version: 1.1.0 translation_version: 1.1.0 last_synced: 2026-03-04 status: current scope: universal --- # 專案結構指南 > **Language**: [English](../../../../skills/project-structure-guide/SKILL.md) | 繁體中文 **版本**:1.1.0 **最後更新**:2026-03-04 **適用性**:Claude Code Skills --- ## 目的 此技能提供根據語言和框架慣例建構專案的指引,協助建立一致、可維護的目錄佈局。 ## 觸發時機 在以下情況使用此技能: - 建立新專案 - 重組現有專案結構 - 新增模組或功能 - 設定建構配置 - 建立 .gitignore 檔案 - 決定檔案的放置位置(程式碼、文件、設定、資源) - 在 utils/、
npx skillsauth add asiaostrich/universal-dev-standards .gemini/skills/project-structure-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Language: English | 繁體中文
版本:1.1.0 最後更新:2026-03-04 適用性:Claude Code Skills
此技能提供根據語言和框架慣例建構專案的指引,協助建立一致、可維護的目錄佈局。
在以下情況使用此技能:
| 語言 | 框架/模式 | |------|-----------| | Node.js | Express、NestJS、Next.js | | Python | Django、Flask、FastAPI | | Java | Spring Boot、Maven、Gradle | | .NET | ASP.NET Core、Console | | Go | 標準佈局、cmd/pkg | | Rust | Binary、Library、Workspace | | Kotlin | Gradle、Android、Multiplatform | | PHP | Laravel、Symfony、PSR-4 | | Ruby | Rails、Gem、Sinatra | | Swift | SPM、iOS App、Vapor |
project-root/
├── src/ # 原始碼
├── tests/ # 測試檔案
├── docs/ # 文件
├── tools/ # 建構/部署腳本
├── examples/ # 使用範例
├── config/ # 配置檔案
└── .github/ # GitHub 配置
dist/ # 發佈輸出
build/ # 編譯產物
out/ # 輸出目錄
bin/ # 二進位執行檔
project/
├── src/
│ ├── index.js
│ ├── routes/
│ ├── controllers/
│ ├── services/
│ └── models/
├── tests/
├── package.json
└── .gitignore
project/
├── src/
│ └── package_name/
│ ├── __init__.py
│ └── main.py
├── tests/
├── pyproject.toml
└── .gitignore
project/
├── cmd/
│ └── appname/
│ └── main.go
├── internal/
├── pkg/
├── go.mod
└── .gitignore
當被要求建立專案時:
審查現有結構時:
development
[UDS] 扫描代码库的调试残留与代码质量问题;可自动修正安全模式。 Use when: before committing, during PR review, or periodic codebase cleanup. Keywords: sweep, debug cleanup, console.log, debugger, TODO, ts-any, code quality, 扫描, 清理.
tools
[UDS] 从规格衍生 BDD 场景、TDD 骨架或 ATDD 表格
development
[UDS] 识别重复流程并以正确的开发深度构建 Skill
tools
[UDS] AI 辅助 git push 安全层:质量门禁 + 协作护栏。 Use when: pushing commits, force pushing, pushing to protected branches, pushing feature branches. Keywords: git push, force push, protected branch, quality gate, push receipt, PR automation, 推送, 保护分支, 质量门禁.