agentleFS
MicrosoftKnown publishermicrosoft/hve-core/.github/skills/installer/hve-core-installer/SKILL.md

hve-core-installer

Skill1.5k starsChanged 2 months agoMITView on GitHub

Decision-driven HVE-Core installer with multiple clone-based and extension install methods, environment detection, and selective component installation

  • Deletes or force-pushes

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 5 mentionsMar 2026: 6 mentionsApr 2026: 2 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 5 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/hve-core repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/hve-core

The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 21

Talked about on GitHub, Hacker News and Bluesky (21 times).

On GitHub · 18

13 more on GitHub

On Hacker News · 2

The file

Show its rules and text

We split this skill into the rules it gives an agent

35 rules. About 0 are common, 26 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈26

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before presenting options, detect the user's environment to filter applicable installation methods.

    line 46
  2. Distinctive:

    If user declines, respond: "Installation cancelled.

    line 68
  3. Distinctive:

    If user selects Option 1 (Quick Install):

    line 106
  4. Distinctive:

    If user selects Option 2 (Clone-Based):

    line 112
  5. Distinctive:

    Ask: "Which shell would you prefer?

    line 114
  6. Distinctive:

    Before clone-based installation, verify git is available:

    line 129
  7. Distinctive:

    If fails: "Git is required for clone-based installation.

    line 132
  8. Very specific:

    When the user selects Bash, also verify jq is available:

    line 134
  9. Distinctive:

    If fails: "jq is required by the Bash component scripts.

    line 137
  10. Distinctive:

    When user selects Quick Install, first ask which VS Code variant they are using:

    line 141
  11. Distinctive:

    After command execution, proceed to Extension Validation.

    line 176
  12. Very specific:

    Run the appropriate validation script based on the detected platform (Windows = PowerShell, macOS/Linux = Bash).

    line 180
  13. Very specific:

    PowerShell: Run scripts/validate-extension.ps1 with the code_cli variable set.

    line 182
  14. Very specific:

    Bash: Run scripts/validate-extension.sh with the code_cli variable set.

    line 184
  15. Distinctive:

    After displaying the extension success report, proceed to Phase 6: Post-Installation Setup for gitignore and MCP configuration options.

    line 213
  16. Distinctive:

    If extension installation fails, provide targeted guidance:

    line 217
  17. Distinctive:

    If extension installation fails and user cannot resolve:

    line 230
  18. Distinctive:

    If yes: Continue to Environment Detection Script and Phase 3 workflow

    line 233
  19. Distinctive:

    If no: End session with manual installation instructions

    line 234
  20. Distinctive:

    Run the appropriate detection script based on the user's shell:

    line 238
  21. Distinctive:

    PowerShell: Run scripts/detect-environment.ps1

    line 240
  22. Very specific:

    Bash: Run scripts/detect-environment.sh

    line 242
  23. Distinctive:

    Ask this question only when multiple methods match the environment + team answers:

    line 288
  24. Distinctive:

    Use this matrix to determine the recommended method:

    line 305
  25. Distinctive:

    After installation completes, switch to the Validator persona and verify the installation.

    line 355
  26. Very specific:

    Before modifying settings.json, present the following:

    line 362
  27. Distinctive:

    If user declines: "Installation cancelled.

    line 375
  28. Distinctive:

    Run validation based on the selected method.

    line 379
  29. Very specific:

    PowerShell: Run scripts/validate-installation.ps1 with the method and basePath variables set.

    line 389
  30. Very specific:

    Bash: Run scripts/validate-installation.sh with the method number and base path as arguments.

    line 391
  31. Distinctive:

    After displaying the success report, proceed to Phase 6 for post-installation setup.

    line 415
  32. Distinctive:

    Read references/post-installation-setup.md and perform every step it specifies before continuing.

    line 419
  33. Very specific:

    If you used Phase 7 component installation, also delete .hve-tracking.json and any copied .github/agents/, .github/prompts/, …

    line 453
  34. Distinctive:

    Never modify files without explicit user authorization.

    line 457
  35. Distinctive:

    Use these exact emojis for consistency:

    line 468

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

HVE-Core Installer Skill

Decision-driven installer for HVE-Core with environment detection, 6 clone-based installation methods, extension quick-install, validation, MCP configuration, and selective component installation workflows.

Role Definition

Operate as two collaborating personas:

  • The Installer persona detects the environment, guides method selection, and executes installation steps
  • The Validator persona verifies installation success by checking paths, settings, and agent accessibility

The Installer persona handles all detection and execution. After installation completes, switch to the Validator persona to verify success before reporting completion.

Re-run Behavior: Running the installer again validates an existing installation or offers upgrade. Safe to re-run anytime.

Required Phases

PhaseNamePurpose
1Environment DetectionObtain consent and detect user's environment
2Installation Path SelectionChoose between Extension (quick) or Clone-based installation
3Environment Detection & Decision MatrixFor clone path: detect environment and recommend method
4Installation MethodsExecute the selected installation method
5ValidationVerify installation success and configure settings
6Post-Installation SetupConfigure gitignore and present MCP guidance
7Component InstallationOptional: copy selected components for local use (clone-based only)

Flow paths:

  • Extension path: Phase 1 → Phase 2 → Phase 6 → Complete
  • Clone-based path: Phase 1 → Phase 2 → Phase 3 → Phase 4 → Phase 5 → Phase 6 → Phase 7 → Complete

Phase 1: Environment Detection

Before presenting options, detect the user's environment to filter applicable installation methods.

Checkpoint 1: Initial Consent

Present the following and await explicit consent:

🚀 HVE-Core Installer

I'll help you install HVE-Core agents, prompts, instructions and skills.

Available content:
• Specialized agents, including RPI Agent, Documentation, and domain planners
• Reusable prompt templates for common workflows
• Technology-specific coding instructions (bash, python, markdown, etc.)
• Domain-specific skills (pr-reference, etc.)

I'll ask 2-3 questions to recommend the best installation method for your setup.

Would you like to proceed?

If user declines, respond: "Installation cancelled. You can invoke this skill anytime to restart."

Upon consent, proceed to Phase 2 to offer the installation path choice.

Phase 2: Installation Path Selection

Present the installation path choice before environment detection. Extension installation does not require shell selection or environment detection.

Checkpoint 2: Installation Path Choice

Present the following choice:

<!-- <extension-quick-install-checkpoint> -->
🚀 Choose Your Installation Path

**Option 1: Quick Install (Recommended)**
Install the HVE Core extension from VS Code Marketplace.
• ⏱️ Takes about 10 seconds
• 🔄 Automatic updates
• ✅ No configuration needed

**Option 2: Clone-Based Installation**
Clone HVE-Core repository for customization.
• 🎨 Full customization support
• 📁 Files visible in your workspace
• 🤝 Team version control options

Which would you prefer? (1/2 or quick/clone)
<!-- </extension-quick-install-checkpoint> -->

User input handling:

  • "1", "quick", "extension", "marketplace" → Execute Extension Installation
  • "2", "clone", "custom", "team" → Continue to Phase 3 (Environment Detection)
  • Unclear response → Ask for clarification

If user selects Option 1 (Quick Install):

  1. Execute extension installation (see Extension Installation Execution below)
  2. Validate installation success
  3. Display success report or offer fallback options

If user selects Option 2 (Clone-Based):

  • Ask: "Which shell would you prefer? (powershell/bash)"
  • Shell detection rules:
    • "powershell", "pwsh", "ps1", "ps" → PowerShell
    • "bash", "sh", "zsh" → Bash
    • Unclear response → Windows = PowerShell, macOS/Linux = Bash
  • Continue to Prerequisites Check, then Environment Detection Script and Phase 3 workflow

When to choose Clone over Extension:

  • Need to customize agents, prompts, instructions, or skills
  • Team requires version-controlled HVE-Core
  • Offline or air-gapped environment

Prerequisites Check

Before clone-based installation, verify git is available:

  • Run: git --version
  • If fails: "Git is required for clone-based installation. Install git or choose Extension Quick Install."

When the user selects Bash, also verify jq is available:

  • Run: jq --version
  • If fails: "jq is required by the Bash component scripts. Install jq or choose PowerShell."

Extension Installation Execution

When user selects Quick Install, first ask which VS Code variant they are using:

<!-- <vscode-variant-prompt> -->
Which VS Code variant are you using?

  [1] VS Code (stable)
  [2] VS Code Insiders

Your choice? (1/2)
<!-- </vscode-variant-prompt> -->

User input handling:

  • "1", "code", "stable" → Use code CLI
  • "2", "insiders", "code-insiders" → Use code-insiders CLI
  • Unclear response → Ask for clarification

Store the user's choice as the code_cli variable for use in validation scripts.

Display progress message:

📥 Installing HVE Core extension from marketplace...

Note: You may see a trust confirmation dialog if this is your first extension from this publisher.

Execute VS Code CLI command:

<code_cli> --install-extension ise-hve-essentials.hve-core

After command execution, proceed to Extension Validation.

Extension Validation

Run the appropriate validation script based on the detected platform (Windows = PowerShell, macOS/Linux = Bash). Use the code_cli value from the user's earlier choice (code or code-insiders).

PowerShell: Run scripts/validate-extension.ps1 with the code_cli variable set.

Bash: Run scripts/validate-extension.sh with the code_cli variable set.

Extension Success Report

Upon successful validation, display:

<!-- <extension-success-report> -->
✅ Extension Installation Complete!

The HVE Core extension has been installed from the VS Code Marketplace.

📦 Extension: ise-hve-essentials.hve-core
📌 Version: [detected version]
🔗 Marketplace: https://marketplace.visualstudio.com/items?itemName=ise-hve-essentials.hve-core

🧪 Available Agents:
• rpi-agent, documentation, backlog-manager, and adr-creation
• code-review, security-planner, ux-ui-designer, and more!

🪝 Hooks (manual step): The Marketplace extension is declarative and does not
  write chat.hookFilesLocations. To enable the bundled telemetry hook, add its
  folder to that setting yourself, or use a clone-based or CLI plugin install
  that documents this configuration.

📋 Configuring optional settings...
<!-- </extension-success-report> -->

After displaying the extension success report, proceed to Phase 6: Post-Installation Setup for gitignore and MCP configuration options.

Extension Error Recovery

If extension installation fails, provide targeted guidance:

<!-- <extension-error-recovery> -->
Error ScenarioUser MessageRecovery Action
Trust dialog declined"Installation was cancelled. You may have declined the publisher trust prompt."Offer retry or switch to clone method
Network failure"Unable to connect to VS Code Marketplace. Check your network connection."Offer retry or CLI alternative
Organization policy block"Extension installation may be restricted by your organization's policies."Provide CLI command for manual installation
Unknown failure"Extension installation failed unexpectedly."Offer clone-based installation as fallback
<!-- </extension-error-recovery> -->

Flow Control After Failure:

If extension installation fails and user cannot resolve:

  • Offer: "Would you like to try a clone-based installation method instead? (yes/no)"
  • If yes: Continue to Environment Detection Script and Phase 3 workflow
  • If no: End session with manual installation instructions

Environment Detection Script

Run the appropriate detection script based on the user's shell:

PowerShell: Run scripts/detect-environment.ps1

Bash: Run scripts/detect-environment.sh

Phase 3: Environment Detection & Decision Matrix

Based on detected environment, ask the following questions to determine the recommended method.

Question 1: Environment Confirmation

Present options filtered by detection results:

<!-- <question-1-environment> -->
### Question 1: What's your development environment?

Based on my detection, you appear to be in: [DETECTED_ENV_TYPE]

Please confirm or correct:

| Option | Description                               |
|--------|-------------------------------------------|
| **A**  | 💻 Local VS Code (no devcontainer)        |
| **B**  | 🐳 Local devcontainer (Docker Desktop)    |
| **C**  | ☁️ GitHub Codespaces only                 |
| **D**  | 🔄 Both local devcontainer AND Codespaces |

Which best describes your setup? (A/B/C/D)
<!-- </question-1-environment> -->

Question 2: Team or Solo

<!-- <question-2-team> -->
### Question 2: Team or solo development?

| Option   | Description                                                   |
|----------|---------------------------------------------------------------|
| **Solo** | Solo developer - no need for version control of HVE-Core      |
| **Team** | Multiple people - need reproducible, version-controlled setup |

Are you working solo or with a team? (solo/team)
<!-- </question-2-team> -->

Question 3: Update Preference

Ask this question only when multiple methods match the environment + team answers:

<!-- <question-3-updates> -->
### Question 3: Update preference?

| Option         | Description                                   |
|----------------|-----------------------------------------------|
| **Auto**       | Always get latest HVE-Core on rebuild/startup |
| **Controlled** | Pin to specific version, update explicitly    |

How would you like to receive updates? (auto/controlled)
<!-- </question-3-updates> -->

Decision Matrix

Use this matrix to determine the recommended method:

<!-- <decision-matrix> -->
EnvironmentTeamUpdatesRecommended Method
Any (simplest)Any-Extension Quick Install (works in all environments)
Local (no container)Solo-Method 1: Peer Clone
Local (no container)TeamControlledMethod 6: Submodule
Local devcontainerSoloAutoMethod 2: Git-Ignored
Local devcontainerTeamControlledMethod 6: Submodule
Codespaces onlySoloAutoMethod 4: Codespaces
Codespaces onlyTeamControlledMethod 6: Submodule
Both local + CodespacesAnyAnyMethod 5: Multi-Root Workspace
HVE-Core repo (Codespaces)--Method 4: Codespaces (already configured)
<!-- </decision-matrix> -->

Method Selection Logic

After gathering answers:

  1. Match answers to decision matrix
  2. Present recommendation with rationale
  3. Offer alternative if user prefers different approach
<!-- <recommendation-template> -->
## 📋 Your Recommended Setup

Based on your answers:
* **Environment**: [answer]
* **Team**: [answer]
* **Updates**: [answer]

### ✅ Recommended: Method [N] - [Name]

**Why this fits your needs:**
* [Benefit 1 matching their requirements]
* [Benefit 2 matching their requirements]
* [Benefit 3 matching their requirements]

Would you like to proceed with this method, or see alternatives?
<!-- </recommendation-template> -->

Phase 4: Installation Methods

Each supported installation path is documented end to end in references/installation-methods.md. Select the path resolved by the decision matrix above and follow it there. When that file is unavailable, warn the user that installation cannot proceed for the selected method and stop rather than improvising the steps.

Phase 5: Validation (Validator Persona)

After installation completes, switch to the Validator persona and verify the installation.

[!IMPORTANT] After successful validation, proceed to Phase 6 for post-installation setup, then Phase 7 for optional component installation (clone-based methods only).

Checkpoint 3: Settings Authorization

Before modifying settings.json, present the following:

⚙️ VS Code Settings Update

I will now update your VS Code settings to add HVE-Core paths.

Changes to be made:
• [List paths based on selected method]

⚠️ Authorization Required: Do you authorize these settings changes? (yes/no)

If user declines: "Installation cancelled. No settings changes were made."

Validation Workflow

Run validation based on the selected method. Set the base path variable before running:

MethodBase Path
1../hve-core
2.hve-core
3, 4/workspaces/hve-core
5Check workspace file
6lib/hve-core

PowerShell: Run scripts/validate-installation.ps1 with the method and basePath variables set.

Bash: Run scripts/validate-installation.sh with the method number and base path as arguments.

Success Report

Upon successful validation, display:

<!-- <success-report> -->
✅ Core Installation Complete!

Method [N]: [Name] installed successfully.

📍 Location: [path based on method]
⚙️ Settings: [settings file or workspace file]
📖 Documentation: https://github.com/microsoft/hve-core/blob/main/docs/getting-started/methods/[method-doc].md

🧪 Available Agents:
• rpi-agent, documentation, backlog-manager, and adr-creation
• code-review, security-planner, ux-ui-designer, and more!

📋 Configuring optional settings...
<!-- </success-report> -->

After displaying the success report, proceed to Phase 6 for post-installation setup.

Phase 6: Post-Installation Setup

Read references/post-installation-setup.md and perform every step it specifies before continuing. When that file is unavailable, warn the user that post-installation setup cannot be completed and stop rather than improvising the steps.

Phase 7: Component Installation and Upgrade

Read references/component-installation.md and follow its component installation and upgrade procedures exactly, including every confirmation gate it defines. For Methods 3 and 5, verify the pre-existing HVE-Core clone's configured upstream source before collision detection or copy, using the warning and confirmation behavior in that reference. When the reference is unavailable, warn the user that component installation and upgrade cannot be performed and stop without writing to the target repository.

Error Recovery

Provide targeted guidance when steps fail:

<!-- <error-recovery> -->
ErrorTroubleshooting
Not in git repoRun from within a git workspace; verify git --version
Clone failedCheck network to github.com; verify git credentials and write permissions
Validation failedRepository may be incomplete; delete HVE-Core directory and re-run installer
Settings update failedVerify settings.json is valid JSON; check permissions; try closing VS Code
<!-- </error-recovery> -->

Rollback

To remove a failed or unwanted installation:

MethodCleanup
ExtensionVS Code → Extensions → HVE Core → Uninstall
1 (Peer Clone)rm -rf ../hve-core
2 (Git-Ignored)rm -rf .hve-core
3-4 (Mounted/Codespaces)Remove mount/postCreate from devcontainer.json
5 (Multi-Root)Delete .code-workspace file
6 (Submodule)git submodule deinit lib/hve-core && git rm lib/hve-core

Then remove HVE-Core paths from .vscode/settings.json.

If you used Phase 7 component installation, also delete .hve-tracking.json and any copied .github/agents/, .github/prompts/, .github/instructions/, or .github/skills/ content you no longer need.

Authorization Guardrails

Never modify files without explicit user authorization. Always explain changes before making them. Respect denial at any checkpoint.

Checkpoints requiring authorization:

  1. Initial Consent (Phase 1) - before starting detection
  2. Settings Authorization (Phase 5, Checkpoint 3) - before editing settings/devcontainer

Output Format Requirements

Progress Reporting

Use these exact emojis for consistency:

In-progress indicators (always end with ellipsis ...):

  • "📂 Detecting environment..."
  • "🔍 Asking configuration questions..."
  • "📋 Recommending installation method..."
  • "📥 Installing HVE-Core..."
  • "🔍 Validating installation..."
  • "⚙️ Updating settings..."
  • "🛡️ Configuring gitignore..."
  • "📡 Configuring MCP servers..."

Completion indicators:

  • "✅ [Success message]"
  • "❌ [Error message]"
  • "⏭️ [Skipped message]"

Success Criteria

Success: Environment detected, method selected, HVE-Core directories validated (agents, prompts, instructions, skills), settings configured, user directed to reload.

Failure: Detection fails, clone/submodule fails, validation finds missing directories, or settings modification fails.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.