Skip to content
Back to skills

Conditional Domain Specific Template

ASecurity

[REPLACE] Apply domain-specific logic based on detected context. Use when [REPLACE with specific triggers].

  • 754 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added February 8, 2026
businesstesting

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill conditional-domain-specific-template --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Conditional Domain Specific Template?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Conditional Domain Specific Template
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-conditional-domain-specific-template/badge)](https://www.skillsdirectory.com/skills/majiayu000-conditional-domain-specific-template)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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

<detect-context>
1. Analyze input to determine domain
2. Identify relevant technology stack
3. Load domain-specific rules
4. Select appropriate processing path
</detect-context>

### Phase 2: Load Domain Rules

<load-rules>
Based on detected context:
- Financial: @references/financial-analysis.md
- Scientific: @references/scientific-calculations.md
- Business: @references/business-metrics.md
</load-rules>

### Phase 3: Apply Domain Logic

<apply-logic>
1. Use domain-specific formulas
2. Apply domain conventions
3. Validate against domain constraints
4. Format output per domain standards
</apply-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

```xml
<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>
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.