new-domain

star 245

Create a new .context domain folder with overview and patterns files following the Substrate methodology. Use when adding a new documentation domain to the project.

andrefigueira By andrefigueira schedule Updated 4/21/2026

name: new-domain description: Create a new .context domain folder with overview and patterns files following the Substrate methodology. Use when adding a new documentation domain to the project. argument-hint: [domain-name] disable-model-invocation: true

Create a new .context/ domain folder for $ARGUMENTS.

Steps

  1. Create the directory .context/$ARGUMENTS/
  2. Create overview.md with this structure:
# Domain: [Name]
Brief description of what this domain covers.

## Overview
High-level description with context.

## Implementation Patterns
Code examples and standard approaches.

## Decision History & Trade-offs
Why choices were made, alternatives considered.

## Integration Points
How this domain connects to others.
  1. Create patterns.md if the domain has code patterns to document
  2. Update .context/substrate.md to add the new domain under "Core Domains"
  3. Add the domain to CLAUDE.md under "Task-Specific Context" if it needs task-specific file pointers
  4. Update AGENTS.md to add the domain under "Context Files by Task"

Rules

  • Follow existing domain structure (see .context/auth/ or .context/api/ as examples)
  • Use project-specific content, not generic best practices
  • Include decision rationale in every section
  • Keep files under 200 lines each
Install via CLI
npx skills add https://github.com/andrefigueira/.context --skill new-domain
Repository Details
star Stars 245
call_split Forks 27
navigation Branch main
article Path SKILL.md
More from Creator
andrefigueira
andrefigueira Explore all skills →