一键导入
repo-architecture
Enforces strict separation between public-facing web directories (like docs/ for GitHub Pages) and internal repository files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Enforces strict separation between public-facing web directories (like docs/ for GitHub Pages) and internal repository files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | repo-architecture |
| description | Enforces strict separation between public-facing web directories (like docs/ for GitHub Pages) and internal repository files. |
You MUST strictly separate public-facing files from internal development files.
When a repository uses a directory like docs/ or public/ to serve a static website (e.g., GitHub Pages), you are FORBIDDEN from placing internal files inside it.
website/, public/, lp/)These directories must ONLY contain files that are meant to be served publicly to end-users via the web.
index.html, style.css, script.js, assets/, optimized images.USER_GUIDE.md, ARCHITECTURE.md), AI configuration files, lockfiles, scripts, .agents/, .github/, source code for the backend.docs/ BAN FOR WEB: Do NOT hijack the docs/ folder to host a Landing Page or Web App just because GitHub Pages legacy settings support it. docs/ is strictly for real documentation (Markdown files, Sphinx, Docusaurus). For marketing pages, use website/ or public/.Files meant for developers, AI agents, or repository management must reside at the project root or in dedicated internal folders, NEVER inside the public web directory.
<root>/.agents/skills/. Never place them in docs/.agents/.README.md, USER_GUIDE.md, or architecture notes belong at the repository root.skills-lock.json, package.json, or environment variables must stay at the root.docs/ or other end-user documentation folders. They must be placed in internal administrative folders (e.g., .github/, .agents/scripts/) to prevent exposing internal infrastructure details to the public.Before creating or moving any file, ask yourself: "Will this directory be exposed to the public internet via a static site host?" If yes, and the file is internal, you are committing a critical security and architectural failure.
CSW のユーザー向け UI・コピーの正典。ユーザー向け語彙(「環境」)、共有モードの3語(共有/分離/コピー)、選択行の見せ方(塗りのみ)、メニューバーを主機構にしない、コピーの一次ソースは LP、Claude 本体の現行用語への追従、並列 UI の分量・文体、禁止記号(em-dash/※/絵文字)を定める。アプリ UI・LP・docs のラベル/モード名/説明文/マイクロコピーを作る/変える前に読む。
用語・概念・UI・コピーを1箇所変えたら、全サーフェス(アプリ UI・トレイ・docs ja/en・README ja/en・LP ja/en・スクリーンショット・OG 画像)へ同時反映し、旧表現を全リポ grep で残存ゼロ確認する。スクショ等の非テキスト派生物は grep に映らないので明示列挙して再生成する。UI・用語・コピーを変えたら発動。
PR をマージする際のレビュー・マージ実行チェックリスト (Rust + Tauri v2 / CSW)。スコープ外変更・安全装置の格下げ・テスト負債・高リスクインフラファイル改変を検出し、CI green を確認したうえで自律的に squash merge する手順を定義する。
CI (GitHub Actions の Test / Build / Security job) が想定時間を大幅に超過した場合のハング検出と cancel / rerun フロー。macos-latest runner の混雑や cargo の依存取得・コンパイル stall 等、transient な GHA 側障害の典型対処。CI が想定より長く `in_progress` のまま動かない時に発動。
日本語の見出し・本文の折り返し / タイポグラフィ品質ゲート。日本語 UI・LP・ドキュメントのコピーやフォントサイズ、改行、行間に触れる前に必ず読む。英語の折り返しルールをそのまま日本語に当てると崩れる(禁則・文節・字面密度が違う)ため、JP 専用の規則・モダン CSS・モジュラースケール・実機検証手順を正典化する。design-taste-frontend を補完する JP 特化スキル。
LP(website/) と人間向けドキュメント(docs/・README) と実装(crates/) が「同じ一つの事実」を語っているかを横断監査する。用語・アーキテクチャ・CLI 表面・機能主張・ja/en 整合・禁止表現を点検し、不整合を file:line と修正案つきで報告する。リリース前やドキュメント/LP/実装を変えた後に実行する read-only 監査。