vishnu-bhaga
О программе
Навык vishnu-bhaga поддерживает стабильное рабочее состояние и обеспечивает согласованность, защищая от расширения границ проекта или смещения контекста. Он закрепляет проверенные знания и гарантирует преемственность, особенно после разрушительных изменений или в ходе длительных сессий. Используйте его для стабилизации функционирующей системы перед внесением изменений или для сохранения ключевых решений от утраты.
Быстрая установка
Claude Code
Рекомендуетсяnpx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/vishnu-bhagaСкопируйте и вставьте эту команду в Claude Code для установки этого навыка
Документация
Vishnu Bhaga
Preserve, sustain what is working — anchor verified knowledge, maintain consistency under perturbation, protect functional patterns from unnecessary change.
When Use
- Working approach at risk of being disrupted by scope creep or premature optimization
- Context drift threatening to overwrite verified knowledge with stale assumptions
- Multiple parallel concerns creating pressure to change things that should remain stable
- After
shiva-bhagadissolution — what survives needs active protection during reconstruction - Long session risks losing earlier verified decisions through context compression
- Before making changes to system currently functioning correct
Inputs
- Required: Current working state or verified knowledge to preserve (available implicit)
- Optional: Specific threat to stability (e.g., "scope creep," "context compression approaching")
- Optional: MEMORY.md and project files for grounding (via
Read)
Steps
Step 1: Inventory What Works
Before protecting anything, identify what is currently functional and verified.
Preservation Inventory:
+---------------------+---------------------------+------------------------+
| Category | Verification Method | Anchoring Action |
+---------------------+---------------------------+------------------------+
| Verified Facts | Confirmed via tool use | Record source and |
| | (file reads, test runs, | timestamp; do not |
| | API responses) | re-derive |
+---------------------+---------------------------+------------------------+
| Working Code | Tests pass, behavior | Do not refactor unless |
| | confirmed, user approved | explicitly requested |
+---------------------+---------------------------+------------------------+
| User Requirements | Explicitly stated by | Quote directly; do not |
| | the user in this session | paraphrase or infer |
+---------------------+---------------------------+------------------------+
| Agreed Decisions | Decisions made and | Reference the decision |
| | confirmed during this | point; do not revisit |
| | session | without new evidence |
+---------------------+---------------------------+------------------------+
| Environmental State | File paths, configs, | Verify before assuming |
| | tool availability | unchanged |
+---------------------+---------------------------+------------------------+
- For each category, list specific items currently verified and working
- Note verification method — how do you know this is true?
- Items without verification not preserved — are assumptions (and may need
shiva-bhaga)
Got: Concrete inventory of verified, working elements with their evidence base.
If err: Inventory sparse — little is verified? Itself valuable information. Run heal to re-ground before attempting to preserve unverified assumptions.
Step 2: Identify Perturbation Sources
Name forces threatening stable state.
- Scope creep: Task expanding beyond what was agreed?
- Context drift: Earlier facts being overwritten by more recent (possibly incorrect) reasoning?
- Optimization pressure: Urge to improve something working adequate?
- External changes: Environment changed (files modified, tools unavailable)?
- Compression risk: Conversation approaching context limits where early decisions may be lost?
For each source, assess: real threat or anticipated one?
Got: Named perturbation sources with assessed severity (active threat vs. anticipated risk).
If err: No perturbation sources apparent? Preservation may not be needed — consider whether brahma-bhaga (creation) or continued execution more appropriate.
Step 3: Anchor Stable State
Apply specific techniques to protect what works from identified threats.
- Memory anchoring: For critical facts at risk of context drift, re-state explicitly:
- "Established fact: [X], verified by [method] at [point in conversation]"
- Persistent memory available? Write durable facts to MEMORY.md
- Scope boundary enforcement: For scope creep, re-state agreed scope:
- "Agreed scope: [original request]. Current work is within/outside this boundary."
- Change resistance: For working code under optimization pressure:
- "This component working and tested. No changes unless user requests them."
- State snapshot: For compression risk, create mental checkpoint:
- Summarize: what done, what remains, what key decisions made
- Environmental verification: For external changes, re-check before proceeding:
- Re-read critical files rather than relying on earlier reads
Got: Each identified threat has specific anchoring response. Stable state explicitly protected.
If err: Anchoring feels excessive — protecting everything equal? Prioritize. What is one thing that must not change? Protect that first.
Step 4: Sustain Through Action
Preservation not passive — needs ongoing attention during subsequent work.
- Before each action, check: "Does this threaten anything in preservation inventory?"
- Yes? Find alternative approach achieving goal without disturbing stable state
- Disturbance unavoidable? Acknowledge explicit and update inventory
- Periodically re-verify preserved items — especially after complex operations
- When task completes, confirm preserved items remain intact
Got: Working state survives current task intact. Changes made only where needed. Did not disrupt functioning components.
If err: Preserved item inadvertently changed? Assess damage immediate. Change broke something? Revert. Change neutral? Update inventory. Do not leave inventory stale.
Check
- Working state inventoried with verification evidence
- Perturbation sources identified and assessed
- Anchoring actions applied to each real threat
- Scope boundaries maintained throughout task
- Preserved items re-verified after completion
Pitfalls
- Preserve assumptions as facts: Only verified knowledge deserves protection. Unverified assumptions dressed as facts create false stability
- Over-preservation: Protecting everything equally prevents necessary change. Preservation must be selective — protect what works, release what does not
- Passive preservation: Assuming things will stay stable without active verification. Context drift constant. Preservation needs ongoing attention
- Resistance to legitimate change: Using preservation as excuse to avoid necessary modifications. User requests change to working component? Overrides preservation
- Stale inventory: Failing to update preservation inventory as new information arrives. Inventory must reflect current reality, not state at creation time
See Also
shiva-bhaga— destruction precedes preservation; what survives dissolution is what Vishnu sustainsbrahma-bhaga— creation builds on preserved foundation; new patterns emerge from stable groundheal— subsystem assessment reveals what is genuinely functional vs. superficially stableobserve— sustained neutral observation detects drift before it threatens stabilityawareness— situational awareness (Cooper color codes) maps direct to perturbation detection
GitHub репозиторий
Похожие навыки
executing-plans
ДизайнИспользуйте навык executing-plans, когда у вас есть полный план реализации для выполнения контролируемыми партиями с контрольными точками проверки. Он загружает и критически анализирует план, затем выполняет задачи небольшими партиями (по умолчанию 3 задачи), сообщая о прогрессе между каждой партией для проверки архитектором. Это обеспечивает систематическую реализацию со встроенными контрольными точками проверки качества.
requesting-code-review
ДизайнЭтот навык запускает суб-агента для ревью кода, который анализирует изменения в коде на соответствие требованиям перед дальнейшими действиями. Его следует использовать после завершения задач, реализации крупных функций или перед слиянием с основной веткой. Ревью помогает выявить проблемы на ранней стадии, сравнивая текущую реализацию с исходным планом.
connect-mcp-server
ДизайнЭтот навык предоставляет разработчикам подробное руководство по подключению серверов MCP к Claude Code с использованием транспортов HTTP, stdio или SSE. Он охватывает установку, конфигурацию, аутентификацию и безопасность для интеграции внешних сервисов, таких как GitHub, Notion и пользовательские API. Используйте его при настройке интеграций MCP, конфигурации внешних инструментов или работе с Model Context Protocol от Claude.
web-cli-teleport
ДизайнЭтот навык помогает разработчикам выбирать между веб-интерфейсом Claude Code и CLI на основе анализа задачи, а также обеспечивает бесшовное перемещение сессий между этими средами. Он оптимизирует рабочий процесс, управляя состоянием и контекстом сессии при переключении между веб-интерфейсом, CLI или мобильным приложением. Используйте его для сложных проектов, требующих различных инструментов на разных этапах работы.
