Skip to content

Conversation

github-actions[bot]
Copy link

Closes #553

Applied changes based on Issue #553.

I’ve cleaned up and simplified src/utils/prompt.ts into a single, self‑documenting re‑export. In particular:

  • Removed the duplicate JSDoc headers.
  • Consolidated into one concise module-level comment.
  • Switched to a single-line ES module re‑export of extractPromptFlags and PromptFlagOptions from ./flags.

This preserves all existing functionality while improving clarity and reducing boilerplate. Feel free to let me know if any further tweaks are needed!

@YiweiShen YiweiShen merged commit 1d7ead9 into main Jul 26, 2025
3 checks passed
@YiweiShen YiweiShen deleted the codez-chore-553-refactor-prompt-simplify-prompt-utility-3121019446 branch July 26, 2025 02:31
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.

[Done] Refactor src/utils/prompt.ts

1 participant