Domain 标志

Domain

社区
notque
domain

Domain-specific: SAP Commerce, OpenSearch detection, WordPress validation, enterprise search.

Add to TypingMind

概览

发布者notque
代码仓库vexjoy-agent
技能名称domain
星标数
443
复刻数
50
附带文件
14
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 14 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 notque 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Domain AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/notque/vexjoy-agent/tree/main/skills/domain/domain
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/notque/vexjoy-agent.git /tmp/vexjoy-agent
mkdir -p .claude/skills
cp -r /tmp/vexjoy-agent/skills/domain/domain .claude/skills/domain
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Domain,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Domain。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Domain 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Domain-Specific Skills

Five domains: SAP Commerce Go review, SAP Commerce compliance audit, OpenSearch SIEM detection engineering, WordPress live validation, and enterprise search. Classify the request into one domain, then follow its section.

Mode Detection

DomainSignalAgent
SAPCC Reviewsapcc review, 10-specialist review, lead reviewgolang-general-engineer
SAPCC Auditsapcc audit, sapcc compliance, full repo auditgolang-general-engineer
OpenSearch DetectionSIEM, SIGMA, MITRE, detection engineering, SOC(this session)
WordPress Validationvalidate wordpress post, check live post, post rendering(this session)
Enterprise Searchsearch relevance, ranking, BM25, query understandingopensearch-elasticsearch-engineer

SAPCC Review

10-agent domain-specialist review. Each agent masters one rule domain and scans every package. Differs from SAPCC Audit: audit segments by package (generalist), review segments by rule domain (specialist, cross-package).

Phase 1: DISCOVER

Verify sapcc project and map the repo.

bash
head -5 go.mod && grep -c "sapcc" go.mod
find . -name "*.go" -not -path "*/vendor/*" | wc -l
find . -name "*.go" -not -path "*/vendor/*" | sed 's|/[^/]*$||' | sort | uniq -c | sort -rn

Check key imports: go-bits, go-api-declarations, gophercloud, gorilla/mux, database/sql.

Gate: Repo mapped. If no sapcc imports, warn but continue.

Phase 2: DISPATCH

Load references/sapcc-review-agent-dispatch-prompts.md for the 10 agent specs.

Dispatch all 10 in ONE message via Agent tool. Each agent gets: path to sapcc-code-patterns.md, assigned sections, domain-specific reference, all .go files to scan, finding output format.

Gate: All 10 dispatched in single message.

Phase 3: AGGREGATE

Run git status --short to capture modified and untracked files. Collect all findings. Deduplicate by file:line (keep higher severity). Apply severity boosts:

Pattern StrengthBoost
NON-NEGOTIABLE (4+ repos)+1 level
Strong Signal (2-3 repos)No change
Context-Specific (1 repo)-1 level

Mark quick wins (single-line, no behavioral change, low test risk). Write sapcc-review-report.md with: verdict, scorecard (10 domains x severity), quick wins, findings by severity, positives, systemic recommendations.

Phase 4: FIX (only with --fix)

Create worktree sapcc-review-fixes. Apply quick wins first. After each group: go build ./... && go vet ./... && make check 2>/dev/null || go test ./.... If fix breaks tests, revert and note. Commit as fix: apply sapcc-review findings (N fixes across M files).


SAPCC Audit

Full-repo compliance scan. Segments by package (generalist per package).

Phase 1: DISCOVER

Verify sapcc project (grep "sapcc" go.mod). Map packages: find . -name "*.go" -not -path "./vendor/*" | sed 's|/[^/]*$||' | sort -u. Count files per package. Plan 5-8 agents, 5-15 files each.

Gate: Packages mapped, agents planned.

Phase 2: DISPATCH

Load references/sapcc-audit-phase-2-dispatch-agents.md for the dispatch prompt (11 review areas: over-engineering, dead code, error messages, constructors, interface contracts, copy-paste, HTTP handlers, database patterns, type patterns, logging, mixed approaches). Dispatch all in one message via Task tool with subagent_type=golang-general-engineer.

Phase 3: COMPILE REPORT

Deduplicate by file:line. Write sapcc-audit-report.md with: verdict, must-fix/should-fix/nit counts, per-package summary table. Display verdict, must-fix count, and top 5 findings inline.

Finding format: [MUST-FIX/SHOULD-FIX/NIT]: summary with file:line, current code, correct code, and rationale.

Audit only: reads and reports. Does not modify code unless --fix.


OpenSearch Detection Engineering

SIEM detection authoring and validation on OpenSearch Security Analytics: SIGMA rules, query DSL translation, MITRE ATT&CK mapping, anomaly detection, correlation, and SOC incident escalation.

Hardcoded Behaviors

  • MITRE ATT&CK on every detection. Include technique ID (e.g., T1110.003)
    • tactic name + kill chain phase. Tactic alone is insufficient.
  • Field-existence check before rule creation. Run GET {index}/_mapping; confirm every rule field exists. Absent fields cause silent failure.
  • Concrete API commands. Provide PUT _mapping, POST _aliases, not abstract advice.
  • Escalation validation. Verify all 9 fields before escalation: ticket ID, alert link, MITRE mapping, timeline, investigation actions, impact analysis, evidence artifacts, containment recommendation, 5 Ws.
  • Severity tier = binding SLA. Not advisory targets.
  • Detection-owned index. When bootstrapping field aliases, recommend a dedicated index separate from the ingestion datastream.

Hard Gates

PatternFix
Rule field absent from index mappingGET {index}/_mapping; confirm or add field
MITRE mapping missing technique ID or tacticSpecify both T####.### and tactic
Escalation missing any of 9 fieldsComplete all fields per checklist
Chained findings monitor on high-frequency scheduleUse static query indices
Field alias bootstrap on shared datastreamCreate detection-owned index

Workflow

  1. Scope: Identify attack scenario, data source, severity tier. Map to MITRE ATT&CK. Confirm log source is ingested.
  2. Validate fields: GET {index}/_mapping for each rule field. Check cardinality for terms aggregations.
  3. Author: Write SIGMA rule (vendor-neutral), translate to OpenSearch DSL. Load references/opensearch-detection-engineering.md for translation patterns. Apply FP suppression (CIDR, service-account prefixes, time windows).
  4. Safety check: Check for index flood, alias bootstrap risk. Load references/opensearch-detection-safety-patterns.md for the full checklist.
  5. Document: 6-section use case (General Info, Context, Outcomes, Detection Logic, Continuous Improvement, Analyst Support). Load references/opensearch-incident-escalation.md for template and KPIs.
  6. Calibrate: Dry-run 5 business days, label TPs/FPs, adjust until FP rate <= 10%.
  7. Escalation (when alert fires): Build 9-field package, apply SLA, hand off per RACI.

Verification STOP Blocks

After authoring: "Have I verified every field via GET {index}/_mapping?" After escalation: "Does the package include all 9 fields?" After chained monitor: "Does this create a new query index per run?" After MITRE mapping: "Did I include both technique ID and tactic?"


WordPress Live Validation

Loads a published WordPress post in a headless browser and verifies rendering matches what was uploaded. The browser is the source of truth.

Browser backend: Playwright MCP (default). Chrome DevTools MCP when the user says "check in my browser" or wants Lighthouse/performance profiling.

Constraints

  • Read-only. Never click, type, or modify the WordPress site.
  • Evidence-based. Every result references a DOM value, network response, or screenshot. No "looks fine."
  • Non-blocking. Failed validation produces a report; does not revert uploads.
  • Severity: BLOCKER (broken content), WARNING (degraded but functional), INFO (informational).
  • Requires Playwright MCP or Chrome DevTools MCP. If neither available, skip.

Phase 1: NAVIGATE

Load references/wordpress-phase-checks.md for the 4-step procedure. Navigate to URL, wait for content area (try selectors: article -> .entry-content -> .post-content -> main), remove cookie banners.

Gate: HTTP 200, content selector found. If 4xx/5xx or no selector: screenshot, FAIL, STOP.

Phase 2: VALIDATE

Load references/wordpress-validation-checks.md for severity rationale and edge cases. Load references/wordpress-playwright-tools.md for tool signatures.

Run all 7 checks:

CheckSeverity
Title matchBLOCKER
H2 structureWARNING
Image loadingBLOCKER
JS console errorsWARNING
OG tagsWARNING
Meta descriptionWARNING
Placeholder/draft textBLOCKER

Execute each check via browser tools. Do not reason about outcomes -- run the command and report observed results.

Gate: All 7 checks executed with severity and evidence.

Phase 3: RESPONSIVE CHECK

Test three viewports: mobile (375x812), tablet (768x1024), desktop (1440x900). Per viewport: resize, screenshot, check overflow, check container visibility. See references/wordpress-phase-checks.md for JS snippets.

Phase 4: REPORT

Output structured report:

LIVE VALIDATION: {url}
CONTENT INTEGRITY: [PASS/FAIL/WARN] per check with evidence
SEO / SOCIAL: OG tags, meta description with values
RESPONSIVE: per viewport with overflow status and screenshot path
RESULT: {PASS | FAIL - N blockers, M warnings}

Error Handling

ErrorResponse
Playwright MCP unavailableSkip report, do not retry
4xx/5xxScreenshot, report HTTP status, STOP at Phase 1
Content selector not foundScreenshot + DOM snapshot; attempt OG checks without selector
Image network timeoutReport; if all fail, note possible CDN issue
Cookie banner blocks contentPhase 1 attempts DOM removal; DOM checks still work

Enterprise Search

Search infrastructure: relevance tuning, query understanding, index management, quality measurement, performance optimization. Always specify target platform and version.

Sub-mode Detection

ModeSignalLoad
RELEVANCEBM25, boost, LTR, rankingreferences/search-relevance-tuning.md
QUERYintent, entity extraction, expansion, synonymsreferences/search-query-understanding.md
INDEXschema, mapping, analyzer, reindex, ILMreferences/search-index-management.md
QUALITYnDCG, MRR, judgments, A/B testreferences/search-search-quality.md
PERFORMANCEslow query, shard, cache, circuit breakerreferences/search-performance-optimization.md
ARCHITECTUREhybrid search, vector search, platform selectionLoad per sub-topic

Always load references/search-llm-search-failure-modes.md as a guardrail.

Shared Workflow Pattern

  1. Diagnose the problem class before acting.
  2. Baseline current metrics. No tuning without measurement.
  3. Change one variable at a time.
  4. Validate against baseline. Accept only statistically significant improvements.

Platform Conventions

PlatformQuery LanguageConfig
Elasticsearch 8.xQuery DSL (JSON)elasticsearch.yml
OpenSearch 2.xQuery DSL (JSON)opensearch.yml
Solr 9.xSolrQL / JSON Request APIsolrconfig.xml
VespaYQLservices.xml
TypesenseREST paramsCLI / JSON

Cross-platform traps: OpenSearch diverges from ES 7.10 on security/ML/alerting. ES _field_caps changed between 7.x and 8.x. Solr edismax != ES multi_match.

Output Rules

  • All query DSL in fenced blocks with platform + version annotation.
  • Every recommendation: what to change, why, expected effect, how to measure.
  • Configuration snippets must be copy-pasteable with comments.

Deep References

Load on demand when a phase needs detailed lookup data.

ContextReference
SAPCC Review Phase 2: 10 agent specsreferences/sapcc-review-agent-dispatch-prompts.md
SAPCC Audit Phase 2: dispatch promptreferences/sapcc-audit-phase-2-dispatch-agents.md
SIGMA authoring, DSL translation, MITRE catalogreferences/opensearch-detection-engineering.md
Detector failures, alias conflicts, index floodreferences/opensearch-detection-safety-patterns.md
Escalation checklist, severity SLAs, KPIsreferences/opensearch-incident-escalation.md
WordPress check specs, severities, edge casesreferences/wordpress-validation-checks.md
WordPress Playwright tool signaturesreferences/wordpress-playwright-tools.md
WordPress phase procedures with JS snippetsreferences/wordpress-phase-checks.md
Search relevance tuning, BM25, LTR, boostsreferences/search-relevance-tuning.md
Query understanding, intent, expansionreferences/search-query-understanding.md
Index management, schema, analyzers, ILMreferences/search-index-management.md
Search quality metrics, evaluation methodologyreferences/search-search-quality.md
Search performance, caching, shardingreferences/search-performance-optimization.md
LLM failure modes in search engineeringreferences/search-llm-search-failure-modes.md

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Domain AI 技能有什么作用?

Domain-specific: SAP Commerce, OpenSearch detection, WordPress validation, enterprise search.

为什么在 TypingMind 中使用 Domain?

因为您只需安装一次,就能搭配任何模型使用。Domain 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Domain?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/notque/vexjoy-agent/tree/main/skills/domain/domain。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Domain?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Domain 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Domain 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Domain AI 技能免费吗?

是的。notque 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇