decontextualize

Rewrite context-bound artifacts into portable, self-contained versions.

1|1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/corygabrielsen/skills --skill decontextualize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: decontextualize
Source: https://github.com/corygabrielsen/skills/tree/main/decontextualize
Command: npx skills add https://github.com/corygabrielsen/skills --skill decontextualize

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Artifacts created in a specific conversation often embed current task details, jargon, or references that break when shared later. This Skill helps produce portable, reader-friendly outputs by removing or replacing context-bound language.

Core Features & Use Cases

  • Genericize terminology: Replace task-specific terms with universal equivalents suitable for any audience.
  • Stranger-test driven rewrites: Apply a strict test to ensure artifacts stand alone without prior context.
  • Documentation and prompts: Adapt code comments, docs, and prompts to be self-contained and reusable.

Quick Start

Decontextualize the artifact text: "Add validation to the user signup flow" to a portable version such as "Add validation to the user authentication flow."

Frequently Asked Questions about decontextualize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make code comments and documentation portable for other readers?

To make code comments and documentation portable, you must remove embedded task details and replace context-bound jargon with universal equivalents. This ensures the artifact stands alone without requiring prior conversation history.

What is a stranger-test for prompts and documentation?

A stranger-test for prompts and documentation is a validation method that ensures artifacts are self-contained. It verifies that a reader with no prior context can understand and use the prompt or documentation without needing additional background information.

How do I generalize context-bound prompts for future reuse?

To generalize context-bound prompts for reuse, replace task-specific terms and conversation references with generic, universal language. This removes dependencies on current-task specifics, domain jargon, and prior discussion history.

Can I use this approach to clean up artifacts with domain-specific jargon?

Yes, you can use this approach to clean up artifacts containing domain-specific jargon. It actively identifies and replaces context-bound terminology with generic equivalents suitable for any audience, ensuring broader readability and portability.

What is the best way to rewrite self-contained documentation from conversation history?

The best way to rewrite self-contained documentation is to apply a strict stranger-test and systematically strip out conversation-specific references. This produces a portable rewrite that requires no prior discussion to understand.

Why does my shared code prompt break when used by a different team?

Shared code prompts break when they contain current-task specifics, domain jargon, or references tied to original conversation history. Removing this context-bound language and replacing it with generic terms ensures portability for future readers.

Related Skills