You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: 17-agent architecture v2 with lean domain agents (#10)
* feat: add install smoke test job to CI pipeline
Test npm pack, CLI commands, and install/uninstall flows for apex, lwc,
and all profiles. Verifies correct files are installed per profile and
extended content is excluded from non-full installs.
* fix: fix smoke test and document local testing workflow
Remove dev-only commands (doctor, status, plan, list-installed) from
smoke test β they are not in npm package files field. Add local smoke
test script (scripts/ci/smoke-test.sh). Document in CLAUDE.md and
README.md.
* feat: add proactive delegation check to agent and skill validators
Agent validator now warns if description lacks "Use PROACTIVELY" β enables
Claude Code auto-delegation. Skill validator warns if SF pattern skills
lack "Use when" trigger. WHEN clause regex updated to accept
"Use PROACTIVELY when" format.
* refactor: redesign sf-architect as lean orchestrator with bookend pattern
Replace bloated 310-line architecture agent with 143-line orchestrator.
Absorbs sf-blueprint-planner (planning), sf-tdd-guide (TDD mandate),
sf-verification-runner (quality gates), sf-devops-deployment (deploy
readiness). Update install manifests. Knowledge stays in skills.
25 β 21 agents.
* refactor: replace sf-apex-reviewer and sf-trigger-architect with sf-apex-agent
New 103-line lean agent handles all Apex: classes, triggers, batch,
async, callouts, tests. Follows TDD workflow, preloads 5 constraint
skills, references pattern skills on demand. 21 β 19 agents.
* refactor: replace 10 old agents with 7 lean domain agents
Create sf-lwc-agent, sf-flow-agent, sf-admin-agent, sf-integration-agent,
sf-agentforce-agent, sf-review-agent, sf-bugfix-agent. Each ~80-110 lines
with TDD workflow. Delete 10 old agents absorbed into new ones. Update
install manifests. 19 β 17 agents.
* refactor: change 28 SF pattern skills to non-user-invocable
Pattern skills are now model-invocable only β agents read them directly
via the Read tool when needed. Users no longer need to type /skill-name.
Constraint skills and platform skills unchanged.
* refactor: rewrite sf-help for 17-agent architecture, update sf-harness-audit
sf-help now documents 11 SF domain agents + 6 platform agents, 7
constraint skills, 28 pattern skills, and 5 utility skills. Updated
agent scoring table in sf-harness-audit.
* docs: update CLAUDE.md, README, and CHANGELOG for 17-agent architecture
Update agent counts, descriptions, and tables across all documentation.
CHANGELOG documents full architecture refactor from 25 to 17 agents.
* fix: update smoke test and CI workflow for new agent filenames
Update scripts/ci/smoke-test.sh and .github/workflows/ci.yml to use
new agent names (sf-apex-agent, sf-review-agent, sf-bugfix-agent, etc).
All 45 smoke tests pass.
* refactor: expand agent coverage and fix stale references in agents and skills
- Convert all 16 multiline agent descriptions to single-line format
- Fix sf-architect and sf-review-agent descriptions for keyword and
WHEN clause validation
- Expand sf-architect, sf-review-agent, sf-admin-agent, sf-flow-agent
with full workflow phases and decision matrices
- Fix 12 orphaned agent references across agent files
- Add routing sequence clarity to Related sections
- Fix ~47 stale agent name references across 21 skill files
- Regenerate all .cursor/ adapters
* docs: update documentation, scripts, and tests for 17-agent architecture
- Update docs/ARCHITECTURE.md with 11 domain + 6 platform agent breakdown
- Replace old agent names in docs/authoring-guide.md and workflow-examples.md
- Update harness-audit.js checks for new agent names
- Update test fixture from sf-apex-reviewer to sf-apex-agent
- Update CLAUDE.md, README.md, and CONTRIBUTING.md
* feat: add Simple Task shortcut to sf-architect Phase 0 classification
Single-component, no-cross-object, well-defined-scope requests now get
a lite planning path (Phase 1 scan only β Phase 6 delegate) instead of
the full 7-phase cycle. Phase 1 still runs to confirm low density; if
hidden complexity is found, upgrades to full New Feature planning.
* refactor: improve agent inline guidance and fix stale skill references
- sf-apex-agent: add async decision matrix and class role suffixes
- sf-bugfix-agent: add error categorization decision tree and fix patterns
- sf-lwc-agent: add Jest test example, SLDS patterns, accessibility checklist
- eval-runner: preload constraint skills, add escalation rules
- sf-agentforce-agent: preload sf-agentforce-development skill
- sf-admin-agent, sf-review-agent, loop-operator: fix descriptions
- sf-apex-constraints: replace stale sf-write-apex reference
- sf-security: add security skills cross-reference table
- sf-help: add related skills section
* docs: update READMEs and authoring guide for 17-agent skill counts
Reorganize skills section in README by invocability: 17 user-invocable,
28 pattern (agent-consulted), 7 constraint, 3 platform. Fix stale
counts (25β17 agents, 35β17 user-invocable skills) across plugin
READMEs and authoring guide.
* docs: fix duplicate entries in README Context Skills table
Context Skills table listed 13 items but 10 were already in the Pattern
Skills table. Reduced to the 3 unique platform skills (mcp-server-patterns,
security-scan, strategic-compact) and noted that pattern skills also
activate contextually.
* fix: improve examples quality β fix platform-events bug, add API versions
- platform-events: fix WhatId type safety bug β validate Order_Id__c
via SOQL before assigning to Id field, update test to use real Order
- lwc-component: add .js-meta.xml with API 66.0, fix Jest mock import
- flow-automation: add complete Before Save Flow XML metadata with
decision elements, entry criteria, and ISCHANGED recursion guard
- Add API version 66.0 notes to 5 remaining examples
- Add Example Patterns section to README.md linking all 10 examples
"description": "Production-ready AI agent harness for Salesforce development β 25 agents, 55 skills, and 29 hooks for Apex, LWC, SOQL, Flows, Visualforce, Aura, and DevOps",
4
+
"description": "Production-ready AI agent harness for Salesforce development β 17 agents, 55 skills, and 29 hooks for Apex, LWC, SOQL, Flows, Visualforce, Aura, and DevOps",
5
5
"owner": {
6
6
"name": "Jiten Singh",
7
7
"email": "jitencseng@gmail.com"
@@ -13,7 +13,7 @@
13
13
{
14
14
"name": "salesforce-claude-code",
15
15
"source": "./",
16
-
"description": "25 specialized agents, 55 domain skills, and 29 hooks for Salesforce development β Apex, LWC, SOQL, Flows, Visualforce, Aura, Agentforce, DevOps, and Security",
16
+
"description": "17 specialized agents, 55 domain skills, and 29 hooks for Salesforce development β Apex, LWC, SOQL, Flows, Visualforce, Aura, Agentforce, DevOps, and Security",
Use when synchronizing Salesforce project docs β codemaps, README, ApexDoc, deployment runbooks. Do NOT use for authoring new design docs or modifying CLAUDE.md.
4
+
Sync Salesforce project docs with codebase β codemaps, ADRs, data dictionaries, deployment runbooks, ApexDoc. Use when updating docs after sprints or architect planning. Do NOT use for authoring design docs or CLAUDE.md.
5
5
model: inherit
6
6
---
7
7
8
-
You are a documentation specialist that keeps project docs synchronized with the codebase.
8
+
You are a documentation specialist that keeps project docs synchronized with the codebase and the architect's design decisions. You extract documentation from code β you never invent it.
9
9
10
10
## When to Use
11
11
12
-
- After a sprint to sync README, CONTRIBUTING, or architecture docs with code changes
13
-
- When generating an architectural codemap (apex.md, lwc.md, integrations.md)
14
-
- When extracting ApexDoc from Apex classes or LWC component annotations
15
-
- When producing a deployment runbook from metadata changes
16
-
- When auditing doc staleness (files not updated in 90+ days)
12
+
- After sf-architect completes planning β generate ADR document and deployment runbook from the plan
13
+
- After a sprint β sync README, codemap, and data dictionary with code changes
- Extracting ApexDoc from Apex classes or LWC component annotations
16
+
- Producing a deployment runbook from the architect's task plan and deployment sequence
17
+
- Auditing doc staleness and flagging outdated documentation
18
+
- Generating data dictionaries from object metadata
17
19
18
-
Do NOT use to write greenfield design documentation, ADRs from scratch, or to modify CLAUDE.md.
20
+
Do NOT use to write greenfield design documentation, modify CLAUDE.md, or author ADRs from scratch (sf-architect creates the ADR β you format and persist it).
19
21
20
22
## Workflow
21
23
22
-
### Step 1: Scan Codebase
23
-
24
-
- Read `sfdx-project.json` for project structure
25
-
- List Apex classes, triggers, LWC components
26
-
- Identify custom objects and fields
27
-
- Map integrations and automation
24
+
### Phase 1 β Scan Codebase
25
+
26
+
1. Read `sfdx-project.json` for project structure and package directories
0 commit comments