Home / minleev5 / devkeel · .harness/skills/domain-init/SKILL.md · GitHub

domain-init skillA

domain-init is agent-read markdown (skill) from minleev5/devkeel: 对项目进行全盘扫描,识别领域类型和技术栈,通过多 subAgent 并行扫描多维度, 生成项目知识 docs 与专属 rules、skills 和 agents。使用「自动 baseline + 交互式增强」 的分层模式,结合头脑风暴先扩散后收拢。 触发词:domain-init、领域初始化、生成领域规范、领域扫描.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Domain Init — 项目领域能力生成器

扫描当前项目 → 识别领域与归属 → 分类维护 docs + rules + skills + agents。

**与 devkeel init 的关系:**

- `devkeel init` 建立执行入口与 `.harness/`,分发通用工作流资产
- `domain-init` 生成「项目专属领域能力」— 基于当前项目代码扫描后定制

**产出位置:** 当前项目 `docs/`、`.harness/rules/`、`.harness/skills/`、`.harness/agents/`;
`AGENTS.md` 维护入口和读取条件。资产分层遵循当前项目执行契约。

## Read First

按需加载以下参考文档:

- `references/detection-signals.md` — 领域检测信号表、降级策略、可用标签
- `references/dimension-pool.md` — 增强维度池(Rules / Skills / Agents)
- `references/project-index.md` — 参考项目索引(GitHub 地址 + 参考内容)
- `references/output-formats.md` — 产出格式规范 + 质量标准
- `references/domain-matrix.md` — 领域适用性矩阵(8 大领域 × 23 维度)

## 何时使用

- 项目已完成 `devkeel init`,需要定制领域能力
- 接手新项目,需要快速建立领域规范
- 项目技术栈升级/迁移,需要更新领域规范

何时**不**使用:
- 新项目应先 `devkeel init`

根项目、普通子项目和 git submodule 均可执行。根项目扫描自身及跨项目关系;子项目扫描自身
领域。先确认目标目录与配置归属,不因存在子模块终止,也不递归改写未获授权的子项目。

## Hard Rules

1. **必须先完成领域检测**(Phase 1),禁止跳过直接生成
2. **Baseline 基于实际扫描** — 采样真实代码,不凭假设生成通用模板话术
3. **覆盖增强策略** — 已存在的同主题 docs/rule/skill/agent 合并项目特征,不丢失已有内容
4. **用户 review 门禁** — 所有生成内容必须经用户 review 后才写入文件系统
5. **参考项目标杆** — 每个维度的 subAgent 在生成前,先用当前可用的页面读取能力获取对应开源参考项目(见 `references/project-index.md`)
…

Read the whole file at its exact version.

How to install

Latest version
mdr add minleev5/devkeel/domain-init@v2.0.2
Exact content
mdr add minleev5/devkeel/domain-init@sha256:6d97cec5f68a2450

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ijeee7zwc3dum4a2.svg)](https://markdownregistry.com/a/art_ijeee7zwc3dum4a2)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v2.0.2 latest2026-09-24 8bc6bbc 13,556 BA view · diff
v2.0.12026-09-23 05b4c72 13,556 BA view · diff
v1.2.22026-09-22 123429c 12,120 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13556 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

minleev5/devkeel · 3 stars · license MIT · pushed 2026-09-24 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_ijeee7zwc3dum4a2
GET https://markdownregistry.com/api/v1/resolve?ref=minleev5/devkeel/domain-init
GET https://markdownregistry.com/api/v1/blob/6d97cec5f68a2450fd7d8e5a9a538657306278bd04b91626deadf52c95bcf517

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from minleev5/devkeel

brainstorming skill
minleev5/devkeel · .harness/skills/brainstorming/SKILL.md · 探索、比较、挑战或补全开发方案;按 Lite/Full 深度进行单题访谈,并在用户同意持久化后维护 OpenSpec Living brainstorm。
v9.1.1 · audit A · 3 stars
changelog skill
minleev5/devkeel · .harness/skills/changelog/SKILL.md · Use when 编辑 changelog、发布 CLI 或模板版本、或判断某项用户可见变更是否需要进入版本记录。
v3.0.0 · audit A · 3 stars
commit skill
minleev5/devkeel · .harness/skills/commit/SKILL.md · 用户明确选择 commit、push 或 MR/PR 后使用的原子交付流程。任务完成或归档本身不触发;在授权范围内完成交付目标及其必要动作。
v1.2.4 · audit A · 3 stars
doc-maintenance skill
minleev5/devkeel · .harness/skills/doc-maintenance/SKILL.md · CLI 文档维护与一致性检查流程
v1.2.0 · audit A · 3 stars
health-check skill
minleev5/devkeel · .harness/skills/health-check/SKILL.md · 一键检查项目代码健康度指标
v1.0.0 · audit A · 3 stars
instruction-maintenance skill
minleev5/devkeel · .harness/skills/instruction-maintenance/SKILL.md · 精简并校验 AGENTS.md、OpenSpec schema/instruction、OPSX commands、SKILL.md、prompt 与 artifact 模板。用于审查当前 diff…
v1.0.0 · audit A · 3 stars
jira-defect-orchestrator skill
minleev5/devkeel · .harness/skills/jira-defect-orchestrator/SKILL.md · 独立编排 Jira 缺陷的取证、修复、验证、回填与 MR 交付,按决策风险确认。适用于用户提供 Jira URL 或 issue key,要求结合运行日志、配置、只读业务数据和代码证据处理生产或测试环境缺陷;普通无 Jira…
v1.3.2 · audit A · 3 stars
new-subcommand skill
minleev5/devkeel · .harness/skills/new-subcommand/SKILL.md · 为 DevKeel CLI 新增子命令的标准开发流程
v1.0.0 · audit A · 3 stars
openspec-apply-change skill
minleev5/devkeel · .harness/skills/openspec-apply-change/SKILL.md · 按 OpenSpec 动态 apply instruction 实施 change tasks,并处理 DevKeel 收尾门禁。
v3.2 · audit A · 3 stars
openspec-archive-change skill
minleev5/devkeel · .harness/skills/openspec-archive-change/SKILL.md · 检查完成状态、评估 spec sync,并按 schema 收尾门禁归档 OpenSpec change。
v3.3 · audit A · 3 stars
openspec-bulk-archive-change skill
minleev5/devkeel · .harness/skills/openspec-bulk-archive-change/SKILL.md · 批量检查 spec 冲突,并按 schema 门禁归档用户明确选择的多个 OpenSpec changes。
v2.2 · audit A · 3 stars
openspec-continue-change skill
minleev5/devkeel · .harness/skills/openspec-continue-change/SKILL.md · 继续 OpenSpec change;Draft 时继续单题访谈,Confirmed 后每次最多投影一个 planning artifact。
v2.2 · audit A · 3 stars

Every file in minleev5/devkeel

Browse by kind, by grade A, or by owner.