Skip to content

refactor(agentic): extract templates subsystem with encapsulated API#199

Merged
Diplow merged 1 commit into
developfrom
feature-templates
Jan 2, 2026
Merged

refactor(agentic): extract templates subsystem with encapsulated API#199
Diplow merged 1 commit into
developfrom
feature-templates

Conversation

@Diplow
Copy link
Copy Markdown
Owner

@Diplow Diplow commented Jan 2, 2026

  • Create dedicated templates subsystem at lib/domains/agentic/templates/
  • Move template logic from prompt-builder.ts to _prompt-builder.ts
  • Add _system-template.ts with SYSTEM tile template constants
  • Add dependencies.json declaring mustache and mapping dependencies
  • Clean index.ts to only re-export public API (buildPrompt, PromptData)
  • Make itemType required in PromptData (remove fallback behavior)
  • Fix cross-domain imports to use public mapping API
  • Add README.md documenting subsystem responsibilities

🤖 Generated with Claude Code

- Create dedicated templates subsystem at lib/domains/agentic/templates/
- Move template logic from prompt-builder.ts to _prompt-builder.ts
- Add _system-template.ts with SYSTEM tile template constants
- Add dependencies.json declaring mustache and mapping dependencies
- Clean index.ts to only re-export public API (buildPrompt, PromptData)
- Make itemType required in PromptData (remove fallback behavior)
- Fix cross-domain imports to use public mapping API
- Add README.md documenting subsystem responsibilities

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
hexframe Ready Ready Preview, Comment Jan 2, 2026 4:16pm

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jan 2, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Diplow Diplow merged commit bef6784 into develop Jan 2, 2026
12 of 14 checks passed
@Diplow Diplow deleted the feature-templates branch January 2, 2026 16:19
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