Skip to content

feat(relay): agent-driven initialization via skill and dormant mode#15

Merged
Narrator merged 1 commit intomainfrom
feat/agent-driven-init
Mar 27, 2026
Merged

feat(relay): agent-driven initialization via skill and dormant mode#15
Narrator merged 1 commit intomainfrom
feat/agent-driven-init

Conversation

@Narrator
Copy link
Copy Markdown
Member

@Narrator Narrator commented Mar 27, 2026

Summary

  • Enables coding agents to initialize Domscribe without the interactive CLI (npx domscribe init)
  • Users who install the plugin via marketplace can now have their agent detect the framework, install packages, and edit bundler configs directly using the agent's native Read/Edit/Bash tools
  • Updates the dormant MCP status tool to return actionable setup steps instead of pointing to the human-interactive CLI

Changes

  • SKILL.md: Added setup/init trigger phrases to description, Bash/Glob to allowed-tools, and a ~55-line "Setup / Initialization" section with framework detection table, package mapping table, PM detection table, monorepo handling, and a 7-step procedure
  • references/config-patterns.md (new): Detailed config editing instructions for all 8 framework combinations organized by 4 integration patterns (HOF wrapper, module registration, Vite plugin, Webpack plugin+loader)
  • dormant-status.tool.ts: Added nextSteps field to output schema with compressed 6-step procedure; updated guidance to explain dormant state without prescribing the interactive CLI
  • dormant-status.tool.spec.ts: Updated assertions for new guidance text and nextSteps field

Test plan

  • All 306 relay unit tests pass (nx test domscribe-relay)
  • Manual test: install plugin in a fresh project without .domscribe/, invoke skill, verify agent follows init procedure
  • Verify SKILL.md stays under 500 lines (currently ~220)
  • Verify references/config-patterns.md loads on-demand via Read

Enable coding agents to initialize Domscribe without the interactive CLI.
Users who install the plugin via marketplace can now have their agent detect
the framework, install packages, and edit bundler configs directly.

- Add setup/init trigger phrases and Bash/Glob to SKILL.md allowed-tools
- Add Setup/Initialization section with framework detection, package mapping,
  PM detection tables, monorepo handling, and 7-step procedure
- Create references/config-patterns.md with detailed config editing
  instructions for all 8 framework combinations (4 integration patterns)
- Add nextSteps field to dormant status tool with actionable agent guidance
- Replace "run npx domscribe init" guidance with structured setup steps
@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Mar 27, 2026

View your CI Pipeline Execution ↗ for commit a562285

Command Status Duration Result
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 1m 50s View ↗
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 1m 44s View ↗
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 1m 42s View ↗
nx run domscribe-test-fixtures:integration--web... ✅ Succeeded 1m 42s View ↗
nx run domscribe-test-fixtures:install-fixture-... ✅ Succeeded 42s View ↗
nx run domscribe-test-fixtures:install-fixture-... ✅ Succeeded 42s View ↗
nx run domscribe-test-fixtures:install-fixture-... ✅ Succeeded 18s View ↗
nx run domscribe-test-fixtures:install-fixture-... ✅ Succeeded 17s View ↗
Additional runs (18) ✅ Succeeded ... View ↗

☁️ Nx Cloud last updated this comment at 2026-03-27 01:59:17 UTC

@Narrator Narrator merged commit 93d862a into main Mar 27, 2026
24 checks passed
@Narrator Narrator deleted the feat/agent-driven-init branch March 27, 2026 02:03
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