Skip to content

feat(da-auth): add da-auth skill and surface DA auth in CDD workflow#89

Open
kptdobe wants to merge 2 commits intomainfrom
feat/da-auth-skill
Open

feat(da-auth): add da-auth skill and surface DA auth in CDD workflow#89
kptdobe wants to merge 2 commits intomainfrom
feat/da-auth-skill

Conversation

@kptdobe
Copy link
Copy Markdown
Contributor

@kptdobe kptdobe commented Apr 22, 2026

Summary

  • Adds a new da-auth sub-skill for obtaining a valid Adobe IMS token before making DA Admin API calls
  • Updates content-driven-development (Step 4 DA callout + Related Skills)
  • Updates building-blocks (Related Skills)

Motivation

During a real AEM EDS project session, an agent had to be manually guided through DA authentication every time it needed to push content or trigger a preview. The da-auth-helper tool and DA Admin API were only referenced in create-site (new-site onboarding), leaving agents in any other context — content updates, block development, test content creation — with no guidance.

What the da-auth skill does

  1. Step 1 — Check token cache at ~/.aem/da-token.json (skip login if still valid)
  2. Step 2 — Three fallback options: da-auth-helper CLI (preferred), DA MCP server, manual paste
  3. Step 3 — Verify the token works against admin.da.live before returning

The description frontmatter tells the agent not to re-invoke if a token is already in scope, preventing unnecessary re-auth mid-session.

Changes

plugins/aem/edge-delivery-services/skills/
├── da-auth/                          ← NEW
│   ├── SKILL.md
│   ├── package.json
│   └── .releaserc.json
├── content-driven-development/
│   └── SKILL.md                      ← Step 4 DA callout + da-auth in Related Skills
└── building-blocks/
    └── SKILL.md                      ← da-auth in Related Skills

What was NOT changed

  • create-site — already handles DA auth well as its own Step 4; no change needed

🤖 Generated with Claude Code

Adds a dedicated da-auth sub-skill for obtaining a valid Adobe IMS
token before making DA Admin API calls. Updates content-driven-development
and building-blocks to reference it at the right points in their workflows.

Motivation: agents working outside the create-site onboarding flow had
no guidance on DA authentication, requiring manual hand-holding every
time content needed to be pushed or a preview triggered.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kptdobe kptdobe requested a review from trieloff April 22, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant