Aidan's user-level Claude Configuration
This contains general rules in CLAUDE.md, a personal plugin in skills/aidan-salesforce-skills, and any remaining standalone skills in the skills directory.
Installing the plugin
/plugin marketplace add aquivalabs/aidan-user-claude
/plugin install aidan-salesforce-skills@aidan-user-claude
Then add the CLAUDE.md nudges — the plugin can't carry these itself:
BEFORE designing or writing Apex, use `aidan-salesforce-skills:salesforce-apex` skill.
BEFORE writing LWC, use `aidan-salesforce-skills:salesforce-lwc` skill.
CLAUDE.md
Short by design. It should be language-agnostic; specifics live in skills or project-level files.
A few bets that have paid off so far:
- Referencing Pinker rather than spelling out the style. Claude knows The Sense of Style well enough that a reference is sufficient. No need to restate its principles.
- No good/bad examples. LLM-generated rules files love these, but they seem redundant. Claude follows the intent without them.
- Encouraging pushback. The "Your style" section explicitly invites Claude to challenge decisions, with an escape hatch ("I will tell you directly if something is decided") to keep it from becoming annoying. New — not yet proven in practice.
- Specs and plans at the right altitude. The spec guidance distinguishes structural plans (where code sketches belong) from behavioural specs (where they don't). This came from finding that Claude would over-solutionise specs with implementation detail that constrained the build phase unnecessarily.
Things to revisit over time:
- ARCHITECTURE.md convention. The idea is that Claude reads a full project and writes an ARCHITECTURE.md up front, saving repeated exploration. Jury is still out — it adds maintenance overhead when architecture changes, and some sources suggest agents perform worse with such files. Worth revisiting.
- General coding advice It may be that future models already follow our preferred coding style so we could remove some items if/when this happens.
- Guarding against bias as behaviours, not a glossary. The "Guarding against bias" section is an experiment. Listing named biases (confirmation, sunk cost, anchoring) is nearly inert: naming a bias doesn't help catch it, since the whole problem is that in the moment it just feels like being right. The canonical list is also overlapping and repetitive. So instead of a taxonomy, the section gives a handful of actionable rules, each pairing an observable trigger with a concrete action Claude can execute. It deliberately targets the failure modes that bite in architecture and code work, sycophancy chief among them. Kept short on purpose so it doesn't compete with the code-style rules for attention. The failure mode to watch for is Claude performing caution rather than exercising it; cut any line that becomes throat-clearing without changing the substance. New — not yet proven in practice.
Lessons learned
- A per-edit code-analyzer hook fired too often, and its docs outlived it. The plugin once ran
sf code-analyzer after every .cls/.trigger edit — noisy during multi-edit work, when the analysis only needs to run once as the Apex skill already prescribes. After it was removed, the SKILL.md and README still described it, and Claude trusted that prose instead of checking. Two lessons: grep the docs when you remove a hook, and verify hook behaviour by observing an edit, not by reading what a skill claims. Removed June 2026.
- Auto-mode made the org-symbols skill redundant. The
salesforce-org-symbols skill wrapped a handful of SOQL queries behind a bash script. Its main value was the allowed-tools constraint, which gave Claude read-only org access without granting broad shell permissions. Once Claude Code introduced auto-mode — where users pre-approve tool usage rather than confirming each call — that permission-scoping argument disappeared. Claude can construct the same sf data query calls itself; the wrapper was just ceremony. Removed June 2026.
Plugin: aidan-salesforce-skills
The Salesforce skills (Apex, LWC, org symbol lookup) are bundled as a plugin. Each skill defines a workflow that guides Claude through the shortest path to working, tested code. Static analysis is a deliberate step in the Apex workflow: Claude runs sf code-analyzer on the changed files and fixes violations before deploying.
Things worth noting: