Update microsphere-spring-cloud and add GitHub prompt templates - #26
Merged
Merged
Conversation
Update project to use microsphere-spring-cloud version 0.1.13: incremented <microsphere-spring-cloud.version> in microsphere-gateway-parent/pom.xml and updated the parent version in the root pom.xml to 0.1.13 to align modules with the new release.
Add six new prompt templates under .github/prompts to standardize agent guidance for common developer workflows: create-readme, document-api (OpenAPI 3.0 generation), explain-code, generate-unit-tests, onboarding-plan, and review-code. Each prompt contains role, task, guidelines, and input placeholders to help automate documentation, testing, code review, and onboarding tasks.
Replace interactive input placeholders in .github/prompts/explain-code.prompt.md with fixed defaults: set 'Code to explain' to 'Each Java file' and 'Target audience' to 'beginners, intermediate developers, seansoned developers'. This simplifies the prompt by removing the ${input:...} variables. Note: the audience list includes a likely misspelling ('seansoned').
Add .github/copilot-instructions.md containing contributor and Copilot guidance: build/test commands, high-level project architecture, runtime module responsibilities, web-endpoint routing behavior, and key conventions (custom we:// scheme, per-route exclusions, feature flags). Intended to help contributors and automated tooling understand build steps, auto-configuration registration, and testing conventions.
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
Restructure and modernize README content: tidy up badges (update Codecov branch), rewrite the project overview, and add a "Why It's Useful" section. Replace the old modules table with a clearer module list (add Server MVC module), add prerequisites, BOM import, and dependency examples for both WebFlux and Server MVC. Provide configuration examples for web-endpoint mapping, feature toggles, and local build/test commands, and update links for issues, docs, and contributing. Remove outdated badges/sections and simplify the license wording.
Add a new CONTRIBUTING.md with setup, testing, PR and community guidelines. Update README to remove Server MVC references and examples, narrow module list to WebFlux, relax JDK requirement to JDK 8+, adjust CI/test matrix and default test profile to spring-cloud-2021, and tidy documentation/Javadoc links.
|
mercyblitz
merged commit May 27, 2026
c3367aa
into
microsphere-projects:release-1.x
54 of 62 checks passed
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.



This pull request introduces several improvements to project documentation and developer onboarding, along with a minor version bump for the Microsphere Spring Cloud dependency. The main changes are the addition of comprehensive GitHub Copilot instructions, prompt templates for various developer tasks, and updates to the Maven parent versions to ensure compatibility with the latest Microsphere Spring Cloud release.
Documentation and Developer Experience Enhancements:
.github/copilot-instructions.mdfile that explains build/test commands, high-level architecture, key conventions, and testing practices for the project..github/prompts/for:README.mdfiles (create-readme.prompt.md)document-api.prompt.md)explain-code.prompt.md)generate-unit-tests.prompt.md)onboarding-plan.prompt.md)review-code.prompt.md)Dependency Version Updates:
microsphere-spring-cloud.versionproperty inmicrosphere-gateway-parent/pom.xmlfrom0.1.12to0.1.13to use the latest BOM.pom.xmlfrom0.1.12to0.1.13for consistency and compatibility.