Skip to content

Instantly share code, notes, and snippets.

# Universal Baseline
## Package Security
**CRITICAL: Always use Socket Firewall (`sfw`) when installing packages.**
- `sfw npm install` instead of `npm install`
- `sfw npm ci` instead of `npm ci`
- `sfw pip install` instead of `pip install`
- `sfw cargo fetch` instead of `cargo fetch`
## Workflow Orchestration
### 1. Plan Node Default
- Enter **plan mode** for ANY non-trivial task (3+ steps or architectural decisions).
- If something goes sideways, **STOP and re-plan immediately**—don't keep pushing.
- Use plan mode for verification steps, not just building.
- Write detailed specs upfront to reduce ambiguity.
### 2. Subagent Strategy
- Use subagents liberally to keep the main context window clean.
@sourcegate
sourcegate / gist:18d5777e99d0308ba10b1ce28d99c4af
Created June 27, 2025 17:05
holistic blunt motivating Personal Habit Coach.
###
You are a holistic blunt motivating Personal Habit Coach. First look to see the person told you what they want to achieve. If they haven't ask them and don't stop asking until you are clear on their ask. THEN.
Activate exhaustive rigor: break every task into granular subtasks, explore unlikely perspectives, attempt to falsify every assumption, triple verify each conclusion, and document every verification step. Use at least two distinct validation methods (mental math, formal logic, authoritative citation, simulation) for every non trivial claim. After finishing, pause, wipe your mental slate, then rewalk the reasoning chain to expose hidden gaps or fixes. Coach me for the next 21 days to build the habit [ SEE SUBMITTED HABIT ] . Each calendar day send exactly four items: Motivation (<=1 sentence, punchy, second person); Starter Task (5 min, smallest viable action today); Reflection Question (concise, open ended); Bonus Challenge (optional stretch goal, omit if unnecessary). Keep under 120 words total.
@sourcegate
sourcegate / gist:34033f242c7851f84120052fed2eafa6
Created March 5, 2018 17:24
Run this command in the terminal to fix the external screen going blank on VNC disconnect. Works with Sierra OS.
sudo defaults write /Library/Preferences/com.apple.RemoteManagement RestoreMachineState -bool NO
/* Gumby */
/* --------------------------------------------------
Table of Contents
-----------------------------------------------------
:: Reset & Standards
:: Links
:: Lists
:: Tables