Skip to content

gustavo-meilus/superpipelines / plugins/superpipelines/skills/sk-hierarchical-context

sk-hierarchical-context

Verified

Generates and maintains localized PIPELINE-CONTEXT.md files distributed across the project tree, producing token-efficient context maps that summarize directory purposes and architectural boundaries. Use when the `/superpipelines:init-deep` command runs, when the PREFLIGHT phase of a new pipeline creation requires context initialization, or when significant refactoring invalidates existing context maps.

Hierarchical Context Maps — Distributed Architecture Context

Distributes architectural knowledge across the repository by placing a PIPELINE-CONTEXT.md in each significant subdirectory. Agents operating within a directory acquire scope-relevant context automatically, conserving tokens and improving reasoning focus.

Protocol Execution

2. CONTEXT GENERATION

For each significant directory, create a PIPELINE-CONTEXT.md adhering to LLM-readability standards (Scribius format):

  • H1-First & Summary: Begin with an H1 header (# Directory Name) followed immediately by a blockquote summary (> ).
  • Cache-Stable Ordering: Place static context (purpose, constraints) before volatile elements.
  • XML-Anchored Content: Wrap structured information in semantic XML envelopes:
    • <directory_purpose>: A concise summary of what the directory does.
    • <architectural_constraints>: Specific rules (e.g., "no database access in components").
    • <key_exports>: Bulleted list of primary modules and their responsibilities.
    • <pipeline_relationship>: How the directory interacts with the broader system.
  • Voice & Tone: Third-person impersonal voice, positive scoping, and unambiguous noun anchors (never "this" or "it" without a preceding noun). Preambles omitted.

3. ROOT CONTEXT INJECTION

  • Generate a root-level PIPELINE-CONTEXT.md that serves as the entry point, detailing the overall system architecture and linking to subdirectory context maps.

4. MAINTENANCE

  • When files are significantly refactored during pipeline execution, flag the relevant PIPELINE-CONTEXT.md for a required update.

Reference Files

  • ${CLAUDE_PLUGIN_ROOT}/skills/sk-pipeline-paths/SKILL.md — Path resolution guidelines.
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall