qiuzhanghua/skills · Archived

maven-profile-selector

Helps users select Maven Profile for its network.

Installation

$ npx skills add qiuzhanghua/skills --skill maven-profile-selector

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from qiuzhanghua/skills.

npx skills add qiuzhanghua/skills

Browse all from qiuzhanghua/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,322 B
  • docs SUMMARY.md 79 B

History

  1. First recorded snapshot · 24 installs

SKILL.md

Maven Profile Selector

This skill helps you select and manage Maven profiles for different network configurations.

When to Use This Skill

Use this skill when the user:

  • Switch between different network environments (e.g., development, staging, production) that require different Maven profiles.

Workflow

  1. Ensure mvn is installed and available in the system PATH.
  2. Check the settings.xml file for available profiles relative to mvn, such as mvn's conf directory.
  3. Present the user with a list of available profiles and their descriptions.
  4. Allow the user to select a profile.
  5. Ask the user whether to change profile, and if confirmed, set the selected profile as the active profile for Maven commands.
  6. For all subsequent Maven commands, use the selected profile until the user decides to switch again. Replace './mvnw' with mvn and add -P <selected_profile>.

Example

User: I need to switch environment for my Maven project. Assistant: Sure! Here are the available Maven profiles in your settings.xml:

  1. Home - Profile for Home environment
  2. Stuff - Profile for Stuff environment
  3. Trip - Profile for Trip environment

Please select the profile you want to use (1, 2, or 3).