Skip to content

refactor: delegate session recording setup to the ai-plugins skill - #72

Draft
bespoyasov wants to merge 2 commits into
mainfrom
refactor/session-recordings-via-skill
Draft

bespoyasov wants to merge 2 commits into
mainfrom
refactor/session-recordings-via-skill

Conversation

@bespoyasov

@bespoyasov bespoyasov commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary:

  • Replace inline session recording instructions with skill delegation, matching the pattern used by feature flags (integrate-feature-flags.md → analyze-project skill) and event tracking (instrument-events.md → instrument-events skill)
  • Consolidate two recording steps (determine-recording-sdk + integrate-recording) into a single step that delegates to the setup-session-recording skill
  • Rename sections/integrate.ts → sections/feature-flags.ts and steps/integrate-via-skill.md → steps/integrate-feature-flags.md to clarify their scope
  • Delete steps/determine-recording-sdk.md (folded into the skill)
  • Delete recording.test.ts (tested removed helper functions)
  • Rewrite build-prompt.test.ts session recordings tests to verify skill reference, IDE-specific paths, guardrails, and STATUS lines

The step file retains wizard-specific guardrails: framework env var prefixes, report placeholder fill values (<RECORDING_RULE_STATUS>, <RECORDING_CONSENT_STATUS>, <CLIENT_SECRET_ENV>), consent gating, and session-to-flag correlation.

Depends on spotify/confidence-ai-plugins#77. Draft until that is merged and released.

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.

2 participants