shiva-bhaga
Destruction and dissolution — controlled dismantling of stale patterns, context purging, assumption clearing, and dead-code elimination. Maps Shiva's transformative destruction to AI reasoning: identifying what must end so something better can begin, dissolving attachment to outdated approaches, and creating space through intentional release. Use when context has accumulated stale assumptions, when a failed approach needs to be discarded rather than patched, when dead code or zombie tasks are creating noise, or before a major pivot where clearing must precede creation.
Best use case
shiva-bhaga is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Destruction and dissolution — controlled dismantling of stale patterns, context purging, assumption clearing, and dead-code elimination. Maps Shiva's transformative destruction to AI reasoning: identifying what must end so something better can begin, dissolving attachment to outdated approaches, and creating space through intentional release. Use when context has accumulated stale assumptions, when a failed approach needs to be discarded rather than patched, when dead code or zombie tasks are creating noise, or before a major pivot where clearing must precede creation.
Teams using shiva-bhaga should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/shiva-bhaga/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How shiva-bhaga Compares
| Feature / Agent | shiva-bhaga | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Destruction and dissolution — controlled dismantling of stale patterns, context purging, assumption clearing, and dead-code elimination. Maps Shiva's transformative destruction to AI reasoning: identifying what must end so something better can begin, dissolving attachment to outdated approaches, and creating space through intentional release. Use when context has accumulated stale assumptions, when a failed approach needs to be discarded rather than patched, when dead code or zombie tasks are creating noise, or before a major pivot where clearing must precede creation.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Shiva Bhaga Controlled destruction and dissolution of stale patterns, outdated assumptions, and accumulated noise — clearing the ground so new growth can emerge. ## When to Use - Context has accumulated stale assumptions that are silently distorting reasoning - A previous approach has failed and the temptation is to patch rather than discard - The conversation has grown long and earlier decisions may no longer serve the current goal - Dead code, abandoned plans, or zombie tasks are creating noise and confusion - Before a major pivot — clearing must precede creation - When attachment to a particular approach is preventing consideration of alternatives ## Inputs - **Required**: Current conversation state or project context (available implicitly) - **Optional**: Specific target for dissolution (e.g., "this approach isn't working," "clear all assumptions about the database layer") - **Optional**: Scope boundary — what must be preserved through the destruction ## Procedure ### Step 1: Identify What Must End Survey the current state and mark what is stale, broken, or no longer serving the goal. ``` Dissolution Triage: +---------------------+---------------------------+------------------------+ | Category | Symptoms | Action | +---------------------+---------------------------+------------------------+ | Stale Assumptions | Decisions made early that | List and re-evaluate | | | no longer match current | each against current | | | understanding | reality | +---------------------+---------------------------+------------------------+ | Failed Approaches | Approaches attempted and | Acknowledge failure | | | abandoned but still | explicitly; release | | | influencing thinking | the sunk cost | +---------------------+---------------------------+------------------------+ | Accumulated Noise | Context, variables, or | Identify and mark for | | | plans that are no longer | removal | | | referenced or relevant | | +---------------------+---------------------------+------------------------+ | Attachment Points | "We already decided..." | Question whether the | | | beliefs that resist | decision still holds | | | re-examination | | +---------------------+---------------------------+------------------------+ | Zombie Artifacts | Code, tasks, or plans | Delete or archive; | | | that exist but serve no | do not leave in limbo | | | current purpose | | +---------------------+---------------------------+------------------------+ ``` 1. Scan each category honestly — resistance to examining a category is itself a signal 2. For each item found, ask: "If I were starting fresh right now, would I create this?" 3. If the answer is no, mark it for dissolution **Got:** A clear inventory of what needs to be released, with specific items in each category. **If fail:** If nothing seems stale, the assessment may be too shallow. Pick the oldest decision in the current context and justify it from scratch — if the justification feels forced, it is a candidate for dissolution. ### Step 2: Establish the Preservation Boundary Not everything should be destroyed. Identify what must survive the clearing. 1. **Core requirements**: What did the user actually ask for? This survives. 2. **Verified knowledge**: Facts confirmed through tool use (file reads, test results) survive. 3. **User preferences**: Explicitly stated preferences and constraints survive. 4. **Working components**: Code or approaches that are demonstrably functioning survive. Draw the boundary: everything inside is preserved, everything outside is subject to dissolution. **Got:** A clear distinction between what is kept and what is released. **If fail:** If the boundary is unclear, ask: "What would I need to reconstruct if I started this task from scratch?" The answer defines the preservation boundary. ### Step 3: Dissolve with Intention Execute the dissolution — not as abandonment but as intentional clearing. 1. For each marked item, release it explicitly: - Stale assumption: "I assumed X, but current evidence shows Y. Releasing X." - Failed approach: "Approach A was attempted and did not work because Z. Releasing attachment to A." - Noise: "Variable/plan/context Q is no longer relevant. Removing from consideration." 2. Do not justify or defend what is being dissolved — the point is release, not analysis 3. If dissolving a large body of accumulated context, summarize what was dissolved and why in one sentence 4. Clear the workspace: if applicable, close abandoned files, reset mental model, acknowledge the clean slate **Got:** A lighter, cleaner context with stale elements removed. The remaining context should feel accurate and current. **If fail:** If dissolution feels incomplete — some released items keep influencing thinking — name them again explicitly. "I notice I am still reasoning as if X is true. X was dissolved. Proceeding without X." ### Step 4: Sit in the Void After destruction, resist the urge to immediately rebuild. The space between destruction and creation has value. 1. Acknowledge the cleared space: "The following has been dissolved: [list]" 2. Note what remains: "What survives: [list]" 3. Resist premature reconstruction — do not immediately propose a replacement for what was dissolved 4. Allow the cleared space to inform what comes next 5. The void is not emptiness — it is potential. The next step (creation via `brahma-bhaga` or preservation via `vishnu-bhaga`) emerges from this space **Got:** A moment of clarity between the old and the new. The next direction becomes apparent from what remains rather than being forced. **If fail:** If the void feels uncomfortable and there is a strong pull to immediately rebuild, that urgency is itself a signal — it may indicate attachment to the dissolved pattern. Sit longer. The right next step will emerge. ## Validation - [ ] Stale assumptions were identified and explicitly released - [ ] Failed approaches were acknowledged without defensiveness - [ ] Accumulated noise was cleared from the working context - [ ] The preservation boundary was established before dissolution - [ ] Core requirements and user preferences were preserved - [ ] The cleared space was acknowledged before moving to creation ## Pitfalls - **Destroying too much**: Dissolution without a preservation boundary destroys working components along with stale ones. Always draw the boundary first - **Destroying too little**: Polite dissolution that "releases" things while still letting them influence reasoning. True dissolution requires actually letting go - **Skipping the void**: Rushing from destruction to creation without sitting in the cleared space produces a recreation of the old pattern with superficial changes - **Performing destruction**: Going through the motions of clearing without actually updating the internal model. If the same assumptions reappear in the next response, dissolution was performative - **Destruction as avoidance**: Using dissolution to escape a difficult problem rather than to clear genuine staleness. If the problem persists after clearing, it was not the stale context — it was the problem itself ## Related Skills - `brahma-bhaga` — creation follows destruction; after clearing, new patterns emerge from the void - `vishnu-bhaga` — preservation complements destruction; what survives dissolution is sustained - `heal` — subsystem assessment may reveal what needs dissolution before healing can proceed - `meditate` — clearing context noise before dissolution prevents reactive over-destruction - `dissolve-form` — the morphic equivalent for architectural dismantling with imaginal disc preservation
Related Skills
vishnu-bhaga
Preservation and sustenance — maintaining working state under perturbation, memory anchoring, consistency enforcement, and protective stabilization. Maps Vishnu's sustaining presence to AI reasoning: holding what works steady, anchoring verified knowledge against drift, and ensuring continuity through change. Use when a working approach is at risk from scope creep, when context drift threatens verified knowledge, after shiva-bhaga dissolution to protect what survived, when a long session risks losing earlier decisions through context compression, or before making changes to a currently functioning system.
brahma-bhaga
Creation and genesis — generative ideation from void, structured emergence from ambiguity, and the discipline of bringing new patterns into existence. Maps Brahma's creative power to AI reasoning: transforming cleared space into coherent new structures, seeding possibilities, and nurturing nascent ideas through their fragile early stages. Use after shiva-bhaga dissolution has cleared stale patterns, when facing a genuinely novel problem with no obvious template, or when incremental modification has reached its limits and a fresh design is needed.
skill-name-here
One to three sentences describing what this skill accomplishes, followed by key activation triggers. This field is the primary mechanism agents use to decide whether to activate the skill — it is read during discovery before the full body is loaded. Start with a verb. Include the most important "when to use" conditions inline. Max 1024 characters.
write-vignette
Create R package vignettes using R Markdown or Quarto. Covers vignette setup, YAML configuration, code chunk options, building and testing, and CRAN requirements for vignettes. Use when adding a Getting Started tutorial, documenting complex workflows spanning multiple functions, creating domain-specific guides, or when CRAN submission requires user-facing documentation beyond function help pages.
write-validation-documentation
Write IQ/OQ/PQ validation documentation for computerized systems in regulated environments. Covers protocols, reports, test scripts, deviation handling, and approval workflows. Use when validating R or other software for regulated use, preparing for a regulatory audit, documenting qualification of computing environments, or creating and updating validation protocols and reports for new or re-qualified systems.
write-testthat-tests
Write comprehensive testthat (edition 3) tests for R package functions. Covers test organization, expectations, fixtures, mocking, snapshot tests, parameterized tests, and achieving high coverage. Use when adding tests for new package functions, increasing test coverage for existing code, writing regression tests for bug fixes, or setting up test infrastructure for a package that lacks it.
write-standard-operating-procedure
Write a GxP-compliant Standard Operating Procedure (SOP). Covers regulatory SOP template structure (purpose, scope, definitions, responsibilities, procedure, references, revision history), approval workflow design, periodic review scheduling, and operational procedures for system use. Use when a new validated system requires operational procedures, when existing informal procedures need formalisation, when an audit finding cites missing procedures, when a change control triggers SOP updates, or when periodic review identifies outdated procedural content.
write-roxygen-docs
Write roxygen2 documentation for R package functions, datasets, and classes. Covers all standard tags, cross-references, examples, and generating NAMESPACE entries. Follows tidyverse documentation style. Use when adding documentation to new exported functions, documenting internal helpers or datasets, documenting S3/S4/R6 classes and methods, or fixing documentation-related R CMD check notes.
write-incident-runbook
Create structured incident runbooks with diagnostic steps, resolution procedures, escalation paths, and communication templates for effective incident response. Use when documenting response procedures for recurring alerts, standardizing incident response across an on-call rotation, reducing MTTR with clear diagnostic steps, creating training materials for new team members, or linking alert annotations directly to resolution procedures.
write-helm-chart
Create production-ready Helm charts for Kubernetes application deployment with templating, values management, chart dependencies, hooks, and testing. Covers chart structure, Go template syntax, values.yaml design, chart repositories, versioning, and best practices for maintainable and reusable charts. Use when packaging a Kubernetes application for repeatable deployments, parameterizing manifests for multiple environments, managing complex multi-component applications with dependencies, or standardizing deployment practices with versioned rollback capability across teams.
write-continue-here
Write a CONTINUE_HERE.md file capturing current session state so a fresh Claude Code session can pick up where this one left off. Covers assessing recent work, structuring the continuation file with objective, completed, in-progress, next-steps, and context sections, and verifying the file is actionable. Use when ending a session with unfinished work, handing off context between sessions, or preserving task state that git alone cannot capture.
write-claude-md
Create an effective CLAUDE.md file that provides project-specific instructions to AI coding assistants. Covers structure, common sections, do/don't patterns, and integration with MCP servers and agent definitions. Use when starting a new project where AI assistants will be used, improving AI behavior on an existing project, documenting project conventions and constraints, or integrating MCP servers or agent definitions into a project workflow.