Add AI-powered JSDoc description generation with OpenAI and multi-format support#8
Open
Add AI-powered JSDoc description generation with OpenAI and multi-format support#8
Conversation
Co-authored-by: klmhyeonwoo <19422885+klmhyeonwoo@users.noreply.github.com>
Co-authored-by: klmhyeonwoo <19422885+klmhyeonwoo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement AI-driven flexibility for JSDOC commands
Add AI-powered JSDoc description generation with OpenAI
Nov 18, 2025
Owner
|
@copilot plz fix conflicts branch |
…SDoc generation Co-authored-by: klmhyeonwoo <19422885+klmhyeonwoo@users.noreply.github.com>
Contributor
Author
Co-authored-by: klmhyeonwoo <19422885+klmhyeonwoo@users.noreply.github.com>
Copilot
AI
changed the title
Add AI-powered JSDoc description generation with OpenAI
Add AI-powered JSDoc description generation with OpenAI and multi-format support
Nov 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces placeholder JSDoc descriptions with AI-generated contextual descriptions using OpenAI. Merged with main branch to include support for JSX, TSX, and Vue Single File Components.
Changes
New
AIServiceclass (src/ai-service.ts)CLI enhancements (
src/cli.ts)--aiflag to enable AI generation--api-key <key>for API key (or useOPENAI_API_KEYenv var)--model <model>for model selectionRefactored generation pipeline (
src/index.ts).js), TypeScript (.ts), JSX (.jsx), TSX (.tsx), and Vue (.vue)Usage
Before:
After (with
--ai):Merge & Security
Backward compatible—works identically without
--aiflag.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.