This prompt is designed for technical leaders, principal engineers, and domain architects who need to move beyond intuition when allocating scarce engineering resources. It takes a list of candidate domains and your business strategy context, then produces a ranked, evidence-backed prioritization with complexity scores, differentiation assessments, and build-vs-buy signals. The output is a decision artifact you can take into a funding conversation or architecture review, not a vague suggestion. Use this before committing a team to a multi-quarter domain investment, during architecture modernization planning when you need to separate core from supporting work, or when aligning technical investment with an updated business strategy. This is a strategic analysis prompt, not a code-level review tool. It assumes you already have a working understanding of Domain-Driven Design concepts such as Core, Supporting, and Generic subdomains.
Prompt
Core Domain Identification and Prioritization Prompt

When to Use This Prompt
Identify which business domains provide genuine competitive advantage and deserve the highest engineering investment.
The prompt works best when you provide concrete, honest inputs. Vague strategy statements like 'we want to be the best' produce vague rankings. Instead, supply specific differentiators your business actually invests in—speed of onboarding, regulatory compliance depth, pricing model innovation, supply chain visibility—and list the candidate domains with a sentence of context each. The prompt will cross-reference each domain against your strategy, assess whether the domain is truly differentiating or just necessary table stakes, estimate implementation complexity, and flag domains where buying or adopting open-source is the rational choice. The output schema enforces a structured ranking with explicit rationale per domain, so you can trace every recommendation back to the evidence you provided. If you cannot articulate your business strategy clearly enough to fill the [BUSINESS_STRATEGY] placeholder, stop and resolve that ambiguity before using this prompt—the model cannot invent your strategy for you.
Do not use this prompt when you need a detailed technical design of a single domain, when you are reviewing code-level implementation quality, or when the list of candidate domains is already narrowed to one. This prompt is for comparative prioritization across multiple domains. After you receive the ranked output, validate it against your own knowledge: if the top-ranked domain surprises you, investigate whether the prompt surfaced a blind spot or whether your strategy input was incomplete. The next step is typically a deeper bounded context design review or a build-vs-buy decision memo for the highest-priority domains. Avoid the temptation to accept the ranking without scrutiny—this prompt accelerates judgment, it does not replace it.
Use Case Fit
This prompt helps technical leaders identify and rank domains by competitive advantage. It works best when business strategy is clear and domain knowledge is accessible. It fails when strategy is absent or the team expects a single correct answer without debate.
Good Fit: Strategic Portfolio Reviews
Use when: leadership needs a structured ranking of domains to guide investment, build-vs-buy decisions, and team allocation. Guardrail: treat the output as a discussion artifact, not a final decision. Schedule a review session to debate rankings and adjust based on tacit knowledge the prompt cannot access.
Good Fit: Pre-Architecture Alignment
Use when: a team is about to start a major system design and needs to agree on which domains are core versus supporting before drawing boundaries. Guardrail: run this prompt before bounded context design sessions. Use the ranked list to prioritize which contexts get the most design rigor and investment.
Bad Fit: Undefined Business Strategy
Avoid when: the organization has not articulated its competitive strategy, target market, or differentiation thesis. Risk: the model will hallucinate plausible-sounding strategic rationales that do not reflect actual business intent. Guardrail: require a written strategy artifact or stakeholder interview summary as input before running this prompt.
Bad Fit: Single Correct Answer Expected
Avoid when: the team expects the prompt to produce one objectively correct domain ranking without human judgment. Risk: domain prioritization involves trade-offs and context the model cannot fully weigh. Guardrail: always require human review of rankings, complexity scores, and investment recommendations. Document where and why humans adjusted the output.
Required Input: Domain Inventory with Context
What to watch: running this prompt with only domain names produces shallow, generic rankings. Guardrail: provide a structured domain inventory including current ownership, existing investment level, business criticality signals, and known complexity drivers. The richer the input context, the more actionable the output.
Operational Risk: Overconfidence in Scores
What to watch: complexity scores and differentiation assessments can appear precise but are model estimates based on limited context. Guardrail: validate scores against team experience and system metrics. Flag any domain where the model's confidence appears high but the team has limited direct knowledge. Use the output to guide investigation, not replace it.
Copy-Ready Prompt Template
A copy-ready prompt that instructs the model to act as a domain architect and produce a structured, ranked analysis of core domains.
The following prompt template is designed to be pasted directly into your AI workspace. It instructs the model to adopt the role of a domain architect and produce a structured, ranked analysis of business domains based on competitive differentiation, complexity, and strategic value. Replace every square-bracket placeholder with your specific business context, strategic goals, and known domain inventory before execution. The prompt enforces a strict output schema, requires evidence for each ranking decision, and includes explicit constraints to prevent generic or unsupported recommendations.
textYou are a domain architect specializing in Domain-Driven Design and strategic portfolio analysis. Your task is to identify, classify, and prioritize the business domains for the following organization, producing a ranked list that distinguishes core domains (source of competitive advantage) from supporting and generic domains. ## INPUT [ORGANIZATION_DESCRIPTION] [STRATEGIC_GOALS] [KNOWN_DOMAINS_OR_CAPABILITIES] [COMPETITIVE_LANDSCAPE] ## OUTPUT_SCHEMA Return a valid JSON object with the following structure: { "analysis_summary": "string (2-3 sentence executive summary)", "domains": [ { "domain_name": "string", "classification": "Core | Supporting | Generic", "differentiation_score": number (1-10), "business_impact": "High | Medium | Low", "complexity_score": number (1-10), "investment_recommendation": "Build | Buy | Outsource | Partner", "rationale": "string (evidence-based justification)", "key_capabilities": ["string"], "risks_if_neglected": ["string"] } ], "strategic_recommendations": ["string"], "confidence_assessment": { "overall_confidence": "High | Medium | Low", "areas_requiring_validation": ["string"] } } ## CONSTRAINTS - Classify each domain strictly as Core, Supporting, or Generic. Core domains provide direct competitive differentiation. Supporting domains enable core domains but are not differentiating. Generic domains are commodity capabilities. - Assign differentiation scores based on how uniquely the organization performs this capability versus competitors, not on how important the capability is. - Investment recommendations must consider build-vs-buy trade-offs: recommend "Build" only for true core domains where off-the-shelf solutions would erode competitive advantage. - Every rationale must reference specific evidence from the provided inputs. Do not invent capabilities or market positions. - If the provided inputs are insufficient to classify a domain confidently, flag it in `areas_requiring_validation` and assign a lower confidence score. - Rank domains by strategic priority: core domains first, then supporting, then generic. - Do not recommend outsourcing or partnering for domains classified as Core unless the organization explicitly lacks the capability to build and cannot acquire it within the strategic timeframe. ## EVALUATION CRITERIA A valid output must satisfy all of the following: 1. Every domain in the input is addressed or explicitly noted as excluded with a reason. 2. No two domains share identical rationale text. 3. Differentiation scores correlate with classification: Core domains must score 7 or higher. 4. At least one domain is classified as Core unless the organization description explicitly describes a commodity business. 5. Investment recommendations are consistent with classification: no "Buy" recommendation for a Core domain without explicit justification.
After pasting this template, replace each placeholder with concrete, specific information. The [ORGANIZATION_DESCRIPTION] should include the company's industry, size, product lines, and revenue model. The [STRATEGIC_GOALS] should capture the 12-24 month strategic priorities. The [KNOWN_DOMAINS_OR_CAPABILITIES] should list existing business capabilities, departments, or systems you are aware of. The [COMPETITIVE_LANDSCAPE] should describe key competitors and how they differentiate. The more specific your inputs, the more actionable the output. Avoid vague descriptions like "we are a tech company" — instead describe what you build, who you serve, and how you win deals. If you lack complete information for any section, note what is missing rather than omitting the section; the model will flag gaps in the confidence assessment.
Prompt Variables
Each placeholder must be replaced for the prompt to produce reliable output. Incomplete or vague inputs produce unreliable classifications.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[DOMAIN_CATALOG] | List of candidate domains to classify and prioritize | Order Management, Customer Identity, Recommendation Engine, Payment Processing, Inventory, Shipping | Must contain at least 3 domains. Each domain must have a name and optional 1-line description. Empty catalog returns empty results. |
[BUSINESS_STRATEGY_SUMMARY] | Concise statement of company strategy and competitive positioning | We compete on same-day delivery speed and inventory availability. Our 3-year goal is to expand to 50 metro areas. | Must be 2-5 sentences. Vague strategy statements produce low-confidence differentiation scores. Required for Core vs Supporting classification. |
[DIFFERENTIATION_CRITERIA] | Dimensions used to assess whether a domain provides competitive advantage | Customer-perceived uniqueness, barrier to imitation, revenue impact, strategic alignment, market expectation | Must list 3-7 criteria. Each criterion should be a short label. Missing criteria cause inconsistent scoring across domains. |
[COMPLEXITY_FACTORS] | Factors that increase the inherent complexity of a domain | Regulatory constraints, concurrency requirements, data volume, integration surface, domain rule density, team learning curve | Must list 3-7 factors. Use factors relevant to your system type. Generic factors produce generic scores. |
[INVESTMENT_CONSTRAINTS] | Current constraints on team capacity, budget, or timeline | 2 domain teams available, 6-month planning horizon, max 1 new hire per quarter | Optional but recommended. Missing constraints cause recommendations that ignore feasibility. Use null if no constraints. |
[OUTPUT_FORMAT] | Desired output structure for the ranked domain list | JSON array with fields: domain_name, classification, differentiation_score, complexity_score, investment_priority, rationale | Must specify field names and types. Schema check before parsing. Reject output that omits required fields. |
[CLASSIFICATION_LABELS] | Allowed values for domain classification | Core, Supporting, Generic | Must be a closed set of 2-4 labels. Output containing labels outside this set fails validation. Default: Core, Supporting, Generic. |
[CONFIDENCE_THRESHOLD] | Minimum confidence score required for automated acceptance | 0.7 | Value between 0.0 and 1.0. Classifications below threshold should be flagged for human review. Default: 0.7. |
Implementation Harness Notes
How to wire the Core Domain Identification prompt into a repeatable, auditable workflow with validation, retries, and human review.
This prompt is not a one-off brainstorming tool. It is a decision-support instrument that should be wired into an architecture review workflow where outputs are versioned, compared, and challenged. The implementation harness must treat the model output as a draft recommendation, not a final decision. The prompt expects structured inputs about business strategy, current system landscape, and team capabilities. Before calling the model, assemble these inputs from source documents (strategy memos, architecture diagrams, team surveys) rather than relying on a single person's recollection. The harness should log every input snapshot alongside the output so that domain prioritization decisions remain traceable six months later when strategy shifts.
Validation and retry logic is critical because the output schema includes ranked lists, numeric scores, and structured justifications. Implement a post-generation validator that checks: (1) all domains in the input appear in the output with no additions or omissions, (2) complexity and differentiation scores fall within the declared ranges, (3) investment recommendations use only the allowed enum values, and (4) the ranking is internally consistent with the scores. If validation fails, retry with the error details injected into [CONSTRAINTS] as a correction instruction. Set a maximum of two retries before flagging for human review. For model choice, prefer a model with strong reasoning capabilities (such as Claude 3.5 Sonnet or GPT-4o) because the task requires trade-off analysis across multiple dimensions. Avoid small or fast models that may produce plausible-looking but logically inconsistent rankings.
Human review gates should be mandatory before any domain investment decision is made. The harness should present the ranked output alongside the input context in a review interface that allows architects to adjust rankings, override scores, and annotate rationale. Log every human modification separately from the model output so that the provenance of each decision is clear. For teams running this analysis quarterly or during strategy cycles, store each run as a versioned artifact and diff the results against the previous run to surface shifts in domain priority. Avoid wiring this prompt directly into automated resource allocation or budgeting systems. The output is a decision aid, not a decision engine, and the gap between a ranked list and a funding commitment requires human judgment about organizational readiness, market timing, and team morale that no prompt can capture.
Expected Output Contract
The JSON schema the model must produce. Validate every field before accepting the output. Use this table to build a parser that rejects malformed responses before they reach downstream systems.
| Field or Element | Type or Format | Required | Validation Rule |
|---|---|---|---|
ranked_domains | array of objects | Array length must be >= 1. Reject if empty or null. | |
ranked_domains[].name | string | Non-empty string. Must match a domain name from the input context. Reject if hallucinated or not present in [DOMAIN_LIST]. | |
ranked_domains[].rank | integer | Integer starting at 1, sequential, no gaps. Reject if duplicate ranks or non-sequential ordering. | |
ranked_domains[].core_classification | string enum | Must be one of: Core, Supporting, Generic. Reject any other value. | |
ranked_domains[].differentiation_score | number | Float between 0.0 and 1.0 inclusive. Reject if outside range or non-numeric. | |
ranked_domains[].complexity_score | number | Float between 0.0 and 1.0 inclusive. Reject if outside range or non-numeric. | |
ranked_domains[].investment_recommendation | string enum | Must be one of: Build, Buy, Outsource, Partner. Reject any other value. | |
ranked_domains[].rationale_summary | string | Non-empty string, 50-300 characters. Reject if shorter than 50 or longer than 300 characters. |
Common Failure Modes
Core domain identification fails in predictable ways. These are the most common production failure modes and how to guard against them before the prioritization output drives roadmap decisions.
Everything Becomes Core
What to watch: The model classifies too many domains as Core because it lacks the competitive-context to say no. Without explicit differentiation criteria, the output becomes a flat list where everything is 'strategic.' Guardrail: Add a hard constraint in the prompt requiring a forced-rank with exactly one top-tier Core domain and a mandatory 'Generic' or 'Commodity' classification for at least 30% of the list.
Misalignment with Business Strategy
What to watch: The model prioritizes domains based on technical complexity or data volume rather than business differentiation. A complex payroll system gets ranked Core while the customer-matching algorithm that actually wins deals is marked Supporting. Guardrail: Include a [BUSINESS_STRATEGY] input field with explicit revenue drivers and competitive differentiators. Require the output to cite which strategy element each Core classification maps to.
Hallucinated Complexity Scores
What to watch: The model invents plausible but ungrounded complexity scores when it lacks real codebase or architecture data. Scores look reasonable but don't reflect actual integration depth, team knowledge, or technical debt. Guardrail: Require complexity scores to be accompanied by a specific evidence source. If no evidence exists, the score must be marked as 'estimated' with a confidence range. Add a validator that flags scores without source grounding.
Static Analysis Without Evolution Context
What to watch: The model treats domain importance as fixed rather than recognizing that Core domains shift as the business evolves. A domain that was Core two years ago may now be commodity, but the model has no temporal awareness. Guardrail: Add a [DOMAIN_LIFECYCLE_STAGE] field to each domain input. Require the output to include a 'Trajectory' indicator showing whether each domain's importance is rising, stable, or declining.
Build-vs-Buy Signal Collapse
What to watch: The model conflates 'important to the business' with 'must build in-house.' It recommends building Supporting domains that have mature SaaS alternatives, wasting engineering capacity. Guardrail: Add a mandatory [BUILD_VS_BUY] assessment for every domain. Require the model to check whether a viable commercial or open-source alternative exists before recommending build. Flag any Core recommendation that doesn't address the build-vs-buy trade-off.
Team Capability Blindness
What to watch: The model recommends heavy investment in a Core domain that the current team has no expertise in, ignoring organizational constraints. The prioritization is technically correct but operationally impossible. Guardrail: Include a [TEAM_CAPABILITY_MATRIX] input mapping domains to current team skills. Require the output to flag any Core domain where a capability gap exists and recommend a build-vs-hire-vs-partner decision alongside the priority.
Evaluation Rubric
Run these checks on a golden dataset of at least 5 known domain sets with expected classifications before shipping this prompt into a production workflow.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Core Domain Identification Accuracy | Top-ranked domain matches expected core domain from golden set | Core domain ranked below Supporting or Generic; multiple domains tied for top rank without differentiation | Compare prompt output ranking against golden dataset expected ranking; require exact match on top position |
Differentiation Assessment Consistency | Differentiation score for each domain is within 1 point of golden dataset expected score on a 1-5 scale | Score deviates by 2 or more points; all domains receive identical differentiation scores | Calculate absolute difference between output score and expected score per domain; flag any deviation > 1 |
Complexity Score Calibration | Complexity score correlates with golden dataset expected complexity (Spearman rank correlation > 0.8) | Simple CRUD domains scored as high complexity; core algorithmic domains scored as low complexity | Compute Spearman rank correlation between output complexity scores and expected complexity ordering across 5+ domains |
Investment Recommendation Alignment | Build-vs-buy recommendation matches golden dataset expected guidance for Core domains | Core domain receives 'buy' or 'outsource' recommendation; Generic domain receives 'build' recommendation | Extract investment recommendation field per domain; compare against expected build/buy/partner label in golden dataset |
Output Schema Completeness | Every domain entry contains all required fields: name, type, complexity_score, differentiation_score, rationale, investment_guidance | Missing rationale field; null complexity_score; extra unstructured text outside schema | Validate output against expected JSON schema; reject any response with missing required fields or extra top-level keys |
Rationale Grounding | Rationale references specific domain characteristics (IP, team expertise, market differentiation) rather than generic statements | Rationale is identical across multiple domains; rationale contains only generic phrases like 'important to business' | Manual review or LLM-as-judge check: does each rationale contain at least one domain-specific differentiator not repeated elsewhere? |
Ranking Stability Across Runs | Top 3 domain rankings are identical across 3 runs with temperature=0 | Core domain position shifts between runs; domain type classification changes between Core and Supporting | Run prompt 3 times with temperature=0 on same input; compare top-3 ordering; flag any position change |
Edge Case Handling for Single-Domain Input | Prompt correctly identifies single domain as Core and does not hallucinate additional domains | Prompt invents 3+ domains not present in input; prompt refuses to classify a single domain | Provide input describing only one domain; verify output contains exactly one domain entry classified as Core |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Adapt This Prompt
How to adapt
Use the base prompt with a frontier model (GPT-4o, Claude 3.5 Sonnet). Remove the [OUTPUT_SCHEMA] requirement and ask for a markdown table instead. Drop the [CONSTRAINTS] section and replace it with a single sentence: "Be concise and prioritize differentiation over operational necessity." Run interactively in a chat UI rather than via API.
Watch for
- Domains ranked by recency bias rather than strategic importance
- Missing complexity scores when the model skips quantification
- Overly broad domain definitions that merge distinct bounded contexts

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us