Delegate independent tasks to specialized agents working concurrently with isolated context.
/fix-lightning
fix-lightning
Run /check-lightning, then fix the highest priority Lightning issue. Creates one fix per invocation. Invoke again for next issue. Use /log-lightning-issues to create issues without fixing.
SKILL.md
Full skill instructions
/fix-lightning
Fix the highest priority Lightning issue.
What This Does
- Invoke
/check-lightningto audit Lightning health - Identify highest priority issue
- Fix that one issue
- Verify the fix
- Report what was done
This is a fixer. It fixes one issue at a time. Run again for next issue. Use /lightning for full lifecycle.
Process
1. Run Primitive
Invoke /check-lightning skill to get prioritized findings.
2. Fix Priority Order
Fix in this order:
- P0: Node not synced, watchtower not configured
- P1: Peer connectivity issues
- P2: Low inbound liquidity, channel rebalancing needed
- P3: Advanced routing/fees
3. Execute Fix
Node not synced (P0): Confirm chain sync:
lncli getinfo
bitcoin-cli getblockchaininfo
If synced_to_chain=false, restart LND after backend is healthy:
sudo systemctl restart lnd
Watchtower not configured (P0): Enable watchtower client and add a tower:
# lnd.conf
wtclient.active=1
lncli wtclient add --tower_addr=host:9911
Peer connectivity issues (P1): Reconnect to peer:
lncli listpeers
lncli disconnect <pubkey>
lncli connect <pubkey>@host:port
Low inbound liquidity (P2): Open a channel with pushed sats to create inbound:
lncli openchannel --node_key=<pubkey> --local_amt=1000000 --push_amt=200000
Channel rebalancing needed (P2): Move balance from outgoing-heavy to incoming-heavy channel:
lncli listchannels
lncli rebalancechannel --from_chan_id=<from> --to_chan_id=<to> --amount=50000
4. Verify
After fix:
lncli getinfo
lncli listchannels
lncli listpeers
5. Report
Fixed: [P0] Node not synced
Updated: lnd service
- Restarted after chain backend healthy
- Confirmed synced_to_chain=true
Verified: lncli getinfo → synced_to_chain=true
Next highest priority: [P0] Watchtower not configured
Run /fix-lightning again to continue.
Branching
Before making changes:
git checkout -b fix/lightning-$(date +%Y%m%d)
Single-Issue Focus
Lightning is sensitive. Fix one thing at a time:
- Test each change thoroughly
- Easy to rollback specific fixes
- Clear audit trail for ops
Run /fix-lightning repeatedly to work through the backlog.
Related
/check-lightning- The primitive (audit only)/log-lightning-issues- Create issues without fixing/lightning- Full Lightning lifecycle
More Other skills
brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Fundamental design principles for writing maintainable, testable Python code.
responsive-design
Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.
Generate Playwright tests from scenarios using interactive browser exploration and validation.
Automated website exploration and test case generation using Playwright.
Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.
gdpr-data-handling
GDPR-compliant data handling with consent management, data subject rights, and privacy controls.
Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.
refactor-plan
Detailed multi-file refactor planning with safety checks and rollback guidance.
