Create context files (plans, justifications, scratches) in .context/ directory with unique three-word IDs and frontmatter
Overall
score
83%
Does it follow best practices?
Validation for skill structure
I create context files in the .context/ directory for three purposes:
.context/plans/): task breakdowns, feature specs, project plans.context/justifications/): decision rationale, architectural choices, approach validation.context/scratches/): temporary notes, exploratory ideas, idea padsEach file gets a unique three-word identifier (e.g., happy-blue-moon), ensuring no filename conflicts, plus frontmatter with the current date and a formatted title.
Run with type, slug, and content:
bunx .context/skills/create-context-file/scripts/create-context-file.ts --type plan "feature-name" "Plan content here"Or use heredoc for multi-line content:
bunx .context/skills/create-context-file/scripts/create-context-file.ts --type justification "decision-name" << HEREDOC
Multi-line
justification content
goes here
HEREDOCFiles are created as: {three-word-id}-{slug}.md
Example: happy-blue-moon-feature-name.md
The file includes frontmatter:
---
date: 2026-01-13
title: Feature Name
---
---
Your content hereUse create-context-file when:
Do NOT use for:
/docs for permanent documentation| Type | Purpose | Lifecycle | Example Use Cases |
|---|---|---|---|
| plan | Task breakdown before execution | Delete after task complete | Feature specs, refactoring roadmaps, migration plans |
| justification | Record decision rationale | Keep indefinitely | Architecture choices, library selection, approach validation |
| scratch | Temporary exploratory notes | Delete after conclusion | Research notes, debugging hypotheses, idea capture |
Decision rule: If you'll reference it later → justification. If it's temporary → scratch. If it guides execution → plan.
create-context-file.ts --type plan "my-plan" without checking what exists.ls .context/plans/ first to see existing plans, avoid duplicates, follow naming patterns.--type scratch "notes" → creates happy-blue-moon-notes.md but another task may have sad-red-sky-notes.md causing confusion.--type scratch "api-refactor-notes" or --type plan "user-auth-migration".--type plan "feature" but content includes justification rationale AND scratch exploration.--type plan "feature-implementation", --type justification "why-graphql", --type scratch "api-alternatives".date: Jan 13th (invalid).date: 2026-01-13 (ISO 8601) always included.Install with Tessl CLI
npx tessl i pantheon-ai/create-context-file@0.2.0