-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Add API Documentation Generator prompt #5001
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add API Documentation Generator prompt #5001
Conversation
|
Thank you for your contribution, @Shreyanshsingh23 ! As we approach the weekend, wanted to let you know to expect review from the team come Monday, Eastern time. Appreciate your patience in that time! |
Sadly but I will wait till the right time @taniandjerry :) Till then I will make sure to make any left changes so that my PR is ready to be merged. |
|
Thank you so much for sharing your contribution! The DCO check is failing, so this link will tell you how to fix it~ Then the team will finish review! |
|
The prompt looks great and very thorough! |
- Add beginner prompt for generating comprehensive API documentation - Uses single Developer extension as required for beginner prompts - Includes detailed example with Express.js API documentation - Provides interactive examples, schemas, and SDK code samples - Fills gap in prompt library for API documentation generation Closes block#4995 Signed-off-by: Shreyansh Singh Gautam <[email protected]>
363ac75 to
7536bba
Compare
Thanks @iandouglas and @taniandjerry for the support. I have made the DCO successful. I think we are ready to go. |
|
running the final checks then we'll merge, thanks again! |
…sion-streaming * 'main' of github.com:block/goose: (37 commits) Clear deeplinks after use (#5128) Revert "Fix gpt-5 input context limit (#4619)" (#5135) fix: missing cmake and protobuf for windows build, deduplicate sh/pws… (#5028) Fix bedrock tool input schema (#5064) Add self-test recipe for goose validation (#5111) fix: modifies openai request logic for reasoning models (#4221) (#4294) Fix race condition threat when set_param and set_secret of c… (#5109) Clean room implementation of the chat process (#5079) Bump rmcp (#5096) set version in an env variable for testing (#5100) fix : enhance fuzzy file search in goose desktop (#5071) Make async (#5126) docs: unlist tutorials for extensions with archived or moved servers (#5116) Add API Documentation Generator prompt (#5001) Add flag for enabling eleven labs voice dictation (#5095) force re-render fields to pick up custom params usage in instructions (#5112) Remove isUserInputDisabled (#5115) Improve Rust analysis output for `analyze` tool (#5072) Remove duplicate prepare_reply_context call (#5063) install react dev tools in development (#4979) ... # Conflicts: # ui/desktop/src/components/BaseChat2.tsx # ui/desktop/src/hooks/useChatStream.ts
Add API Documentation Generator Prompt
📋 Summary
This PR adds a new beginner prompt to the Goose Prompt Library: API Documentation Generator. This prompt helps engineering teams generate comprehensive API documentation from their code, filling a gap in the current prompt library.
🎯 Issue Reference
Closes #4995 - Beginner Prompt Submission #3
✨ What This Prompt Does
The API Documentation Generator prompt analyzes API code and generates comprehensive documentation including:
🔧 Technical Details
Requirements Met ✅
api-documentation-generator.jsonExtension Used
{ "name": "Developer", "command": "developer", "is_builtin": true, "environmentVariables": [] }📝 Example Usage
Input Prompt:
Output: Comprehensive API documentation with:
🎯 Why This Prompt is Valuable
🔍 Uniqueness Check
This prompt is unique in the library:
api-endpoints-analysis.json- Analyzes routing configuration (different purpose)generate-toc.json- Generates markdown table of contents (different scope)📊 Content Quality
🧪 Testing
📁 Files Changed
documentation/src/pages/prompt-library/data/prompts/api-documentation-generator.json(new file)🚀 Ready for Review
This prompt is ready for immediate use and provides significant value to the Goose community. It addresses a real need in engineering workflows and follows all submission guidelines perfectly.
Prompt ID:
api-documentation-generatorCategory: Technical
Job: Engineering
Extension: Developer (built-in)
Status: Ready for merge ✅