Skip to content

docs: add downstream-consumers reference for compat checks @W-24014386 - #355

Open
nico-pappagianis wants to merge 9 commits into
mainfrom
chore/add-downstream-consumers-ref
Open

docs: add downstream-consumers reference for compat checks @W-24014386#355
nico-pappagianis wants to merge 9 commits into
mainfrom
chore/add-downstream-consumers-ref

Conversation

@nico-pappagianis

@nico-pappagianis nico-pappagianis commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

What

Docs-only changes that give code reviews (and sessions consuming a review) a consistent way to reason about this published library and how to test it, plus a cleanup of stale references in the dev-guide skill.

New references

  • ai-docs/downstream-consumers.md — the repos consuming @salesforce/agents' public API, so reviews can judge whether a change is breaking / backwards-incompatible and point at where:
    • plugin-agent (salesforcecli/plugin-agent) — direct, heaviest API usage.
    • vscode-agents (forcedotcom/vscode-agents) — direct.
    • sf CLI (forcedotcom/cli) — indirect/transitive; bundles plugin-agent rather than importing the API.
    • Guidance to cross-check against the latest main of each consumer, with a step-by-step for finding call sites a change would break.
  • ai-docs/local-testing.md — how to test a change inside a consumer before publishing: yarn link for a live symlink (with the duplicate-@salesforce/core caveat) and yarn pack to QA the exact published artifact. Clarifies that the sf CLI is exercised transitively through plugin-agent — you do not build forcedotcom/cli.

Hub + doc wiring

  • CLAUDE.md links both new references from the convention hub.

DEVELOPING.md

  • Replaced the documented yarn local:link/unlink/install commands (which never existed in package.json) with the real yarn link / yarn pack flows, pointing at ai-docs/local-testing.md for the full detail.

dev-guide skill (.claude/skills/sf-agents-dev-guide/SKILL.md)

  • Fixed stale repo references: afv-librarysf-skills (renamed), dropped (private) on vscode-agents, removed three repos that no longer resolve (platformdx-shared-skills, afdx-skill-dev, afdx-skill-test).
  • Pointed the API-consumer/compat content at ai-docs/downstream-consumers.md instead of duplicating it.
  • Dropped the phantom yarn local:* commands (now points at ai-docs/local-testing.md), corrected the valid commit types to match @commitlint/config-conventional (removed improvement) and the enforcement mechanism (commitlint, not commitizen), and removed a dead link to a nonexistent references/external-contacts.md.

Why

@salesforce/agents is published and consumers are pinned to released versions — they can't redeploy in lockstep. A change that passes this repo's own tests can still silently break a consumer bound to the old shape. These docs give reviewers a consistent way to catch that and to verify a change locally, and remove stale/incorrect guidance that had drifted from the actual repo.

Notes

Docs only — no code or test changes.

@W-24014386

Document the repos that consume @salesforce/agents' public API
(plugin-agent, vscode-agents, and the sf CLI transitively via
plugin-agent) so code reviews can judge whether a change is breaking or
backwards-incompatible, and where. Add ai-docs/downstream-consumers.md
and link it from the CLAUDE.md convention hub.
@nico-pappagianis
nico-pappagianis marked this pull request as ready for review August 27, 2026 20:06
@nico-pappagianis
nico-pappagianis requested a review from a team as a code owner August 27, 2026 20:06
@nico-pappagianis nico-pappagianis changed the title docs: add downstream-consumers reference for compat checks docs: add downstream-consumers reference for compat checks @W-24014386= Aug 27, 2026
@nico-pappagianis nico-pappagianis changed the title docs: add downstream-consumers reference for compat checks @W-24014386= docs: add downstream-consumers reference for compat checks @W-24014386 Aug 27, 2026
@@ -0,0 +1,51 @@
# Downstream consumers

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This already exists in the skill. Can we point the skill to this?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know if this is what you had in mind or prefer something else

@github-actions

Copy link
Copy Markdown

This PR lacks any commits of the 'fix' or 'feat' type, and therefore will not trigger a release. To silence all further warnings, react to this warning comment (or any other) with the 👀 emoji.

NOTE: If your repo uses squash commits, make sure to add the appropriate conventional commit prefix (e.g., 'fix:', 'feat:', 'chore:', etc) in the squash commit message.


For the public-API consumer contract — which repos are bound to the published API and how to
check a change for breaking / backwards-incompatible impact — see
[`ai-docs/downstream-consumers.md`](../../../ai-docs/downstream-consumers.md).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@setu4993 link to downstream consumers. Nice to have this table here still but we can delete it if we truly only want it in downstream-consumers.md. OK either way to me.

Comment thread DEVELOPING.md
`vscode-agents`) before publishing. Use `yarn link` for a live symlink while iterating:

```
yarn local:link /path/to/other/project

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yarn local not a real command, not sure if this was supposed to be some local wrapper but the command doesn't exist.

└─► afv-library (forcedotcom/afv-library)
Agent skills for vibe coding (developing/observing/testing-agentforce)
└─► sf-skills (forcedotcom/sf-skills)
Curated agent skills for Agentforce Vibes (works with all AI tools)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

afv-library is now sf skills

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants