domain-build

domain-build is a skill for Claude Code from fagemx/prismstack. It costs 132 tokens per session (4,003 once invoked), scanned A, original, MIT.

A builder that creates a complete collection of coding-agent skills for a specific field from a prepared skill map. It also tracks progress and can continue an interrupted build.

In plain words
What is it for?
Use it after planning a skill map to build a domain repository, validate its contents, save progress, and resume unfinished work.
Why use it?
It removes the manual work of creating many related skills and helps avoid rebuilding parts that already exist after an interruption.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is 3. 安裝: bash bin/install.sh.

Good fit Use it after planning a skill map to build a domain repository, validate its contents, save progress, and resume unfinished work.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/fagemx/prismstack
agentmods
npx agentmods add skills/fagemx/prismstack/domain-build

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for domain-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/fagemx/prismstack/domain-build/github.svg)](https://agentmods.dev/skills/fagemx/prismstack/domain-build)
Your own site
<a href="https://agentmods.dev/skills/fagemx/prismstack/domain-build"><img src="https://agentmods.dev/badge/skills/fagemx/prismstack/domain-build/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for domain-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/fagemx/prismstack/domain-build"><img src="https://agentmods.dev/badge/skills/fagemx/prismstack/domain-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,003 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00132 $0.04003
Opus 5.5 $0.00053 $0.01601
Sonnet 5.5 $0.00026 $0.00801
Haiku 4.5 $0.00013 $0.00400

Measured 2mo ago against content hash 3e1b2aaf41bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

domain-build scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate-repo.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/domain-build/SKILL.md · 347 lines

How it starts

The opening of the file, as written. The whole thing — 347 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Domain Stack Builder

你是領域 stack 搭建引擎。快速搭建、完整搭建。品質目標:「可用,不求完美」。

Auto Mode

如果被自動模式調用(--auto flag):

  • 跳過所有 STOP gates — 不每 5 個 skill 停一次
  • 跳過 AskUserQuestion — 「repo 建在哪」用預設(temp 目錄或 orchestrator 指定)
  • 仍然遵循 skill-craft-guide + system-wiring-guide
  • 仍然跑 validate-repo.sh(失敗自動修)
  • 仍然做 Input Quality Detection(按用戶輸入品質對等生成)
  • 仍然存 build-progress.md

Recovery(中斷恢復)

如果被中斷:

  1. 檢查目標目錄是否已存在
  2. 讀取 build-progress.md(如果有)
  3. 從最後一個未完成的 Phase 續跑
  4. 不要重新生成已存在的 skill

Phase 0: Artifact Discovery + 進度追蹤

State

  • Reads: ~/.prismstack/projects/{slug}/.prismstack/skill-map.json, domain-config.json
  • Writes: build-progress.md (already implemented)
  • Updates: domain-config.json → last_build timestamp
  1. 搜尋 ~/.prismstack/projects/*/skill-map-*.md,找到最新的 skill map
  2. 若找不到 → STATUS: BLOCKED — 建議先用 /domain-plan
  3. 搜尋目標目錄是否已有部分建置(build-progress.md、skills/ 目錄):
    • 如果有 build-progress.md → 讀取,從最後一個 pending 狀態的 skill 繼續
    • 如果有 skills/ 但沒有 progress file → 列出已存在的 skill,問用戶要接續還是重建
  4. 搜尋 ~/.prismstack/projects/ 其他 domain 的已建 stack,列出可能相關的(用戶可能想參考)
  5. 讀取 skill map,用 AskUserQuestion 確認:
    • 確認 skill 清單正確
    • 詢問 repo 建立位置(預設:當前目錄)
    • 詢問 domain slug(用於 artifact 路徑)
  6. 建立 build-progress.md — 狀態追蹤表:
| Skill | Type | Status | Notes |
|-------|------|--------|-------|
| routing | Control | pending | |
| {skill-1} | {type} | pending | |
| ... | ... | ... | ... |

方法論

  • Read {PRISM_DIR}/shared/methodology/skill-craft-guide.md — skill 寫作原則、pattern、模板、實戰範例
  • Read {PRISM_DIR}/shared/methodology/system-wiring-guide.md — 搭建流程、系統 pattern、artifact flow 接線

{PRISM_DIR} = 找到的 Prismstack 安裝路徑(~/.claude/skills/prismstack 或 .claude/skills/prismstack)

STOP: 確認 skill map + 建置位置後才繼續。


Phase 1: Repo Scaffold

讀取 references/repo-scaffold-spec.md。

  1. 建立完整目錄結構
  2. 生成根目錄檔案:README.md, CLAUDE.md, VERSION, CHANGELOG.md, LICENSE, .gitignore
  3. 生成 bin/install.sh(chmod +x)+ bin/{domain}-slug.sh
  4. git init + 第一次 commit
  5. 更新 build-progress.md

Read the full file on GitHub · 347 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 347 lines · 132 tokens per session scan A 3e1b2aaf41bd

Subscribe to this mod's changes

domain-build is a skill published in the GitHub repository fagemx/prismstack (1 stars, last pushed 6mo ago), licensed MIT. It adds 132 tokens to every session and 4,003 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

technical-documentation

Audit, write, and improve developer documentation using Google's Developer Documentation Style Guide and Technical Writing courses. Use this skill for any documentation work, even when the user names no style guide: "audit our docs", "review this README", "write a README", "getting started guide", "how-to or…

wondelai/skills · 204 tokens

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

crossing-the-chasm

Navigate the technology adoption lifecycle from early adopters to mainstream market. Use when the user mentions "crossing the chasm", "beachhead segment", "whole product", "early adopters vs mainstream", "tech go-to-market", "bowling pin strategy", "technology adoption lifecycle", "pragmatist buyers", "growth stalled…

wondelai/skills · 139 tokens

design-everyday-things

Apply foundational design principles: affordances, signifiers, constraints, feedback, and conceptual models. Use when the user mentions "why is this confusing", "affordance", "error prevention", "discoverability", "human-centered design", "mental model", "mapping", "seven stages of action", "users keep making…

wondelai/skills · 132 tokens

design-sprint

Run a structured 5-day process to prototype, test, and validate product ideas with real users. Use when the user mentions "design sprint", "validate before we build", "rapid prototype", "test with users", or "should we build this". Also trigger when a team is stuck in endless debate over a high-stakes product…

wondelai/skills · 137 tokens

hooked-ux

Design habit-forming product loops using the Hook Model (Trigger, Action, Variable Reward, Investment). Use when the user mentions "users arent coming back", "habit formation", "engagement loops", "habit zone", or "the manipulation matrix". Also trigger when designing notification or re-engagement strategies, building…

wondelai/skills · 109 tokens