SfSkills Domains Docs GitHub

Home / Docs / SfSkills documentation

SfSkills documentation

Who this is for: everyone, as a map. Find your section, then follow one link.

This page is an index only. It links and classifies, it does not teach. The sections run in the order a reader usually needs them: get it working, understand what it is, see the build loop in action, look things up, install it properly, run it day to day, and finally change it.

LabelMeans
ConsumerYou are USING the library on a Salesforce project: searching skills, running agents, wiring the MCP server into your editor. You never edit this repo.
ContributorYou are CHANGING the library: adding or revising a skill, an agent, a template or the tooling. You run the sync and validation gates.
BothUseful either way.

1. Getting started

DocAudienceWhat it answers
../README.mdBothWhat is this and why would I want it?
getting-started.mdConsumerInstall to first useful answer, for the three real entry points: Claude Code checkout, MCP server, plain export to another tool.
worked-example-trigger-consolidation.mdConsumerOne complete Salesforce task, start to finish, with the real command output.

2. Concepts

DocAudienceWhat it answers
architecture.mdBothHow skills, agents, commands, templates, decision trees, registry, index, evals and the MCP server fit together, and which of the three retrieval mechanisms each accuracy figure describes.
agent-invocation-modes.mdConsumerThe ways to invoke an agent, and why MCP is the canonical channel for production use.
glossary.mdBothThis repo's own vocabulary: mechanism 1/2/3, gloss, roster, tier, coverage gate, envelope.
../evals/measurement/README-model-routing.mdBothHow the shipped routing path is benchmarked, and the retraction of the "79.2% → 92.2% Hit@1" headline. Read before citing any routing number.

3. The build loop

Asked to make a Salesforce change (a field, a flow, a rule, an integration, a whole process) rather than answer a question? This is the path. The "Two Ways In" section at the top of ../CLAUDE.md says the same to an AI session.

DocAudienceWhat it answers
build-loop.mdConsumerStart here. The requirement-to-build loop told through the five worked examples, smallest first, with every number sourced.
../examples/builds/README.mdBothThe five scenarios side by side, how each column was counted, every org refusal and where it lives now, and what validate-only could not see.
../standards/build-orchestration.mdBothThe contract: stages, gates, the plan file, the sizing rule (§ 3.1), steps, acceptance tests, roles. The authority when anything else disagrees.
../commands/build-from-requirements.mdConsumerThe exact command sequence, gate by gate.

The worked examples, each a folder with its own README.md:

ExampleSize, from its READMERead it for
opp-amount-lockask tier: one-line ask, 13 questions, 1 step, two gate decisionsThe loop at its smallest; one rendered RUN.md read at both gates
tier2-webhookfeature tier: integration, 45 questions, 5 steps, 13 validate-only runsWhy compile-only Apex evidence is not enough
case-onboardingproject: 97 clarifications, 5 milestones, 22 steps, 13 gatesThe largest build; the org as the last reviewer
northwind-salesproject: 16 steps, 4 milestones, 9 gates, 16 runs reached the org, 14 org-taught factsThe broadest build: config, access, approvals, Apex, LWC, reporting
cold-start-lead-sourceno tier: the loop was never foundWhat a session that skipped the loop missed
cold-start-case-escalation-emailfeature tier: 19 questions, 1 stepThe same experiment after the fix: found, sized and driven to done

4. Library reference

DocAudienceWhat it answers
SKILLS.mdBothThe full skill catalog, by domain. Generated.
agents.mdBothEvery agent package with its status and role. Generated.
../agents/_shared/RUNTIME_VS_BUILD.mdConsumerWhich agents do Salesforce work and which maintain the library.
../agents/_shared/SKILL_MAP.mdConsumerWhich agent cites which skills.
../standards/decision-trees/README.mdConsumerRouting before technology choice, across seven trees: Flow vs Apex, flow pattern, Agentforce capability, async tier, integration pattern, sharing mechanism, performance tuning.
../templates/README.mdConsumerThe canonical Apex, LWC, Flow and Agentforce building blocks that skills point at.

5. Installing

DocAudienceWhat it answers
installing.mdBothThe canonical setup reference for a clone: one bootstrap command, every flag, what a clone does and does not contain, embeddings cost, MCP install paths, and the maintainer runbook for cutting a release.
installing-the-plugin.mdConsumerInstall the library as a Claude Code plugin from the marketplace, and what the plugin costs at session start.
installing-single-agents.mdConsumerShip one agent into another project without dropping its skill and probe dependencies.
../mcp/sfskills-mcp/docs/CONNECT.mdConsumerMCP client config for Claude Code, Claude Desktop, Cursor, Windsurf, Zed, VS Code, Cline, Continue, Codex CLI, Gemini CLI, Goose.
../mcp/sfskills-mcp/README.mdConsumerThe MCP tool schemas, annotations and design notes.

6. Operating

DocAudienceWhat it answers
consumer-responsibilities.mdConsumerWhat a consuming tool MUST do when it runs a run-time agent: persist reports, honour the JSON envelope.
multi-ai-parity.mdConsumerWhich export targets are first-class and what each one loses.
troubleshooting.mdBothSymptom to cause to fix, for the failure modes a fresh clone actually hits.
faq.mdBothDo I need an org? Why is search slow? Why do the CLI and MCP disagree?
MIGRATION.mdBothWhich agents were retired in the Wave 3 consolidation, what replaced them, and the state of each redirect.
validation/README.mdBothHow the library verifies itself against a live org: three re-runnable harnesses. The harnesses ship; their reports do not.
../SECURITY.mdBothThreat model, secret handling, and how to report a vulnerability.
../CHANGELOG.mdBothWhat changed, when.

7. Contributing

DocAudienceWhat it answers
../CONTRIBUTING.mdContributorAdd a skill, fix a skill, report a gap, flag stale content.
../AGENT_RULES.mdContributorThe full repo-wide workflow rules.
../CLAUDE.mdContributorThe rules an AI assistant follows inside this repo.
../AGENTS.mdContributorThe agent-facing entry point (the AGENTS.md convention).
../standards/skill-authoring-style.mdContributorHow a skill package is written: voice, section shapes, Questions to Ask Before Configuring.
../standards/validation-gates.mdContributorEvery gate validate_repo.py enforces, with file and line citations. Generated.
../standards/official-salesforce-sources.mdContributorThe official Salesforce documentation a skill's claims must be grounded in.
../agents/_shared/AGENT_CONTRACT.mdContributorThe 8-section shape every AGENT.md must have.
../evals/README.mdContributorGolden P0 output-quality cases for the flagship skills.
../commands/onboard-source.md and source-integrations/README.mdContributorOnboarding an external skill source, and the licence and chain-of-title record each one leaves.

Generated artifacts: never hand-edit

Regenerate with the command in the third column. Only some of these are gated.

DocWhat it isRegenerate withDrift gated?
SKILLS.mdThe skill catalogscripts/skill_sync.py --all (via scripts/generate_docs.py)Yes. validate_repo.py recomputes it through pipelines/sync_engine.py and errors on any difference.
agents.mdThe agent rosterscripts/generate_agent_roster.pyOnly by hand: --check exists, and no workflow or hook runs it.
queue-progress.mdBacklog dashboard: status counts, drift, next pickscripts/generate_queue_dashboard.pyYes, when BACKLOG.yaml produces a dashboard.
docs/reports/duplicate-candidates.mdNear-duplicate skill pairsscripts/audit_duplicates.pyNo. docs/reports/ is gitignored, so it exists only after you run the script.

Outside docs/, registry/, vector_index/chunks.jsonl, vector_index/manifest.json and standards/validation-gates.md are written by the sync engine and drift-gated by validate_repo.py. The plugin artifacts under .claude/ (routers, rosters, agent loaders) are generated by scripts/build_plugin.py and checked in CI by scripts/build_plugin.py --check (.github/workflows/validate.yml).

The queue itself is hand-authored: ../BACKLOG.yaml holds the rows, and ../MASTER_QUEUE.md is the workflow contract for claiming one. queue-progress.md is derived from the first.


What this library is not

Not indexed

View this file on GitHub