Clairvoyance

Software design skills for AI coding agents, inspired by A Philosophy of Software Design.

使うべきか

品質と安全性

B
説明の品質
98%
スキーマの完全性
34%
命名の品質
55%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(17)

  • LOWTool 'complexity-recognition' description lacks action verbcomplexity-recognition 内
  • LOWTool 'deep-modules' doesn't follow camelCase/snake_casedeep-modules 内
  • LOWTool 'module-boundaries' doesn't follow camelCase/snake_casemodule-boundaries 内
  • LOWTool 'information-hiding' doesn't follow camelCase/snake_caseinformation-hiding 内
  • LOWTool 'pull-complexity-down' doesn't follow camelCase/snake_casepull-complexity-down 内
  • LOWTool 'general-vs-special' doesn't follow camelCase/snake_casegeneral-vs-special 内
  • LOWTool 'error-design' doesn't follow camelCase/snake_caseerror-design 内
  • LOWTool 'abstraction-quality' doesn't follow camelCase/snake_caseabstraction-quality 内
  • LOWTool 'naming-obviousness' doesn't follow camelCase/snake_casenaming-obviousness 内
  • LOWTool 'comments-docs' doesn't follow camelCase/snake_casecomments-docs 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~2,064トークン数(ツール定義)
~270 B一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 1.61%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "mcp": {
      "url": "https://clairvoyance.fyi/mcp"
    }
  }
}

リモートエンドポイント

https://clairvoyance.fyi/mcpstreamable-http

できること

ツール一覧

ツール(17)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢deep-modules

Measures module depth: whether the interface is simple relative to the implementation behind it. Use when an interface has too many parameters or methods, many small classes each do too little, or methods just forward calls. Not for whether adjacent layers provide different abstractions (use abstraction-quality) or merging/splitting modules (use module-boundaries).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢module-boundaries

Evaluates where module boundaries are drawn and whether modules should be merged or split. Use when deciding whether to combine or separate two modules, when modules are tightly coupled, or when a change to one forces changes to another. Not for depth within a single module (use deep-modules) or abstraction-layer quality (use abstraction-quality).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢information-hiding

Checks for information leakage across module boundaries, including temporal decomposition and false encapsulation. Use when modules change together, implementation details leak across boundaries, or structure follows execution order rather than knowledge ownership. Not for merge/split decisions (use module-boundaries) or interfaces over-specialized for one caller (use general-vs-special).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢pull-complexity-down

Checks whether complexity is pushed to callers or absorbed by implementations — the direction complexity flows. Use when callers must do significant setup, handle errors the module could resolve, or configure things they don't understand. Not for module depth (use deep-modules), knowledge leakage (use information-hiding), or exception strategy once an error must surface (use error-design).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢general-vs-special

Evaluates whether interfaces are appropriately general-purpose. Use when checking interface generality, when if-branches or parameters serve only one caller, or when getters/setters expose internal representation. Not for information leakage across boundaries (use information-hiding) or auditing configuration parameters (use pull-complexity-down).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢error-design

Reviews error handling and exception design, applying the "define errors out of existence" principle. Use when reviewing error handling, when a module throws too many exceptions, or when callers must handle errors they shouldn't need to know about. Not for general caller-burden complexity (use pull-complexity-down); this skill is specifically for exception and error-condition strategy.

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢abstraction-quality

Evaluates whether abstractions provide a genuinely different way of thinking or are structurally shallow. Use when adjacent layers feel redundant, wrappers add boilerplate without depth, or an abstraction feels leaky. Not for a single module's interface-to-implementation ratio (use deep-modules) or information leakage across boundaries (use information-hiding).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢naming-obviousness

Reviews naming quality and code obviousness via the isolation test, scope-length principle, and consistency audit. Use when names feel vague, something is hard to name (a design signal, not a vocabulary problem), or behavior isn't obvious on first read. Not for comment quality or documentation (use comments-docs).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢comments-docs

Reviews comment quality and documentation practices: the four comment types, comments-first workflow, and comment rot. Use when reviewing comments or docs, when comments just repeat the code, or when something is hard to describe in a sentence. Not for naming or code obviousness (use naming-obviousness).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢strategic-mindset

Assesses whether code reflects strategic or tactical thinking, including the 10-20% investment rule and tactical-tornado patterns. Use when evaluating design investment, when code was written under time pressure, or when working code consistently degrades the system. Not for judging whether a specific diff looks designed-in or bolted-on (use code-evolution).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢design-it-twice

Generates and compares at least two fundamentally different design alternatives on concrete criteria before committing. Use when the user asks to design something twice, or before committing to any significant design of classes, modules, APIs, or architecture. Also use when asked how to structure or architect a feature, or when writing the design or alternatives section of an RFC, design doc, or ADR. Not for judging strategic vs. tactical investment in existing code (use strategic-mindset) or whether a change degrades design (use code-evolution).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢code-evolution

Evaluates whether changes to existing code maintain or degrade design quality. Use when the user asks to review a diff or PR (for example before merging it), or asks about recently modified files, to judge whether each change looks designed-in or bolted-on. Not for scanning design smells (use red-flags) or assessing overall design investment (use strategic-mindset).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢complexity-recognition

Diagnoses whether complexity exists and where it comes from, using the three-symptom, two-root-cause framework. Use when code feels harder to work with than it should but the specific problem is unclear. Not for scanning known design smells (use red-flags) or evaluating a module's depth (use deep-modules).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢red-flags

Scans code against 17 design smells (the book's 14 named Red Flags plus 3 process-stage signals) and produces a structured diagnostic report. Use when the user asks for a red flags or design smell scan, asks to check code against a checklist, is evaluating unfamiliar code, or asks open-endedly whether anything is off in a named or pasted file, class, or function, or asks you to look it over. Not for a specific bug, error, or failing test the user has already identified. Not for a plain diff or PR review before merge, or whether a PR maintains design trajectory (use code-evolution for both), or diagnosing why code feels complex (use complexity-recognition).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢design-review

Orchestrates a structured design review, running the other skills as a diagnostic funnel from complexity triage to a full red-flags sweep. Use when the user asks for a comprehensive or prioritized design assessment of a file, module, or PR. Not for an open-ended "anything off here?" or "take a look at this" prompt that names no review goal (use red-flags), a plain diff review before merge or analyzing how code changed over time (use code-evolution), or applying one specific lens (use that skill directly).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢diagnose

Routes a vague symptom or complaint to the most relevant Clairvoyance skill via a decision tree. Use when someone describes a problem but doesn't know which skill to reach for. Not for a comprehensive review (use design-review) or a checklist scan (use red-flags).

入力スキーマ

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢fetch-reference(skill, file)

Fetch a supporting file from a Clairvoyance skill's references/ folder, when the skill's instructions point to one. Available: information-hiding (back-door-leakage.md); pull-complexity-down (configuration-parameter-audit.md); comments-docs (comments-first-workflow.md); design-it-twice (pre-mortem-fallback.md); red-flags (flag-interaction-map.md); design-review (workflow-builder.md).

入力スキーマ

{
  "type": "object",
  "properties": {
    "skill": {
      "type": "string",
      "description": "The skill the file belongs to",
      "enum": [
        "information-hiding",
        "pull-complexity-down",
        "comments-docs",
        "design-it-twice",
        "red-flags",
        "design-review"
      ]
    },
    "file": {
      "type": "string",
      "description": "The file name inside the skill's references/ folder",
      "enum": [
        "back-door-leakage.md",
        "comments-first-workflow.md",
        "configuration-parameter-audit.md",
        "flag-interaction-map.md",
        "pre-mortem-fallback.md",
        "workflow-builder.md"
      ]
    }
  },
  "required": [
    "skill",
    "file"
  ],
  "additionalProperties": false
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 17 件