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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 14個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    notqueがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Domain」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にDomainを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Domainは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Domain」では何ができますか?

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Domainを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Domainで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもDomainを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Domain」は無料ですか?

はい。notqueがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇