← スキル一覧に戻る

conditional-domain-specific-template
by djankies
⭐ 0🍴 0📅 2025年11月25日
SKILL.md
name: conditional-domain-specific-template description: [REPLACE] Apply domain-specific logic based on detected context. Use when [REPLACE with specific triggers]. allowed-tools: Read, TodoWrite
Conditional Domain-Specific Template
Purpose
This template demonstrates context-aware workflows that adapt based on domain, technology, or data characteristics.
Use this template when:
- Behavior varies by framework/language/domain
- Different rule sets apply to different contexts
- Progressive disclosure by detected context
- Multiple technology stacks supported
Workflow
Phase 1: Detect Context
Phase 2: Load Domain Rules
Phase 3: Apply Domain Logic
Context Detection
Financial Data:
- Keywords: revenue, profit, QoQ, YoY, EBITDA
- Date ranges with quarterly/annual patterns
- Currency symbols and financial notation
Scientific Data:
- Keywords: mean, median, standard deviation, p-value
- Statistical notation
- Hypothesis testing language
Business Metrics:
- Keywords: KPI, conversion, retention, churn
- Percentage-based metrics
- Funnel analysis patterns
Progressive Disclosure
Core workflow (this file):
- Context detection logic
- Domain routing rules
- High-level processing flow
Domain-specific details (references/):
- references/financial-analysis.md - Financial calculations and formulas
- references/scientific-calculations.md - Statistical methods
- references/business-metrics.md - KPI calculations
Example Usage
<detect-context>
Detected: Financial data (contains "revenue", "QoQ", quarterly dates)
Domain: Financial Analysis
Loading: /references/financial-analysis.md
</detect-context>
<apply-logic>
Calculating QoQ revenue growth:
Q4 2024: $1.2M → Q1 2025: $1.5M
QoQ Growth: +25.0%
YoY revenue comparison:
Q1 2024: $0.9M → Q1 2025: $1.5M
YoY Growth: +66.7%
Forecast Q2 2025: $1.7M (based on trend)
</apply-logic>
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です