Aditya61101/repoPilot — reverse-engineered prompt
Reverse engineered prompt
Build me a developer assistant called DevAssistant that can connect to GitHub using a personal access token, look up a repository by owner and repo name, show the repository details, and list its open issues.
Start with the current backend idea, a Java 21 Spring Boot API using Maven. Keep the code organized in simple controller, service, integration, and exception layers. The API should read the GitHub token from an environment variable called GITHUB_TOKEN and call the GitHub REST API.
Please make the app easy to run locally, with clear endpoints like getting repo details and getting repo issues. Add basic error handling for missing tokens, bad repo names, GitHub API failures, and not found responses. Include simple tests for the main service behavior.
There is an ai service folder planned, but only stub it if needed. Focus on making the backend useful and clean first. Look up current GitHub API docs online if you need to.
Want more depth? Deep Reverse