mcpField
C
configure-select

configure-select

github.com/laurigatesCloud & DevOps5956 installsUpdated 1d ago
Repository

About configure-select

configure-select is a skill for interactively choosing infrastructure standards checks, suited to teams configuring only the components their projects need. It detects project type, presents grouped options, and maps selections to configuration commands.

Key features

  1. 01Detect project type
  2. 02Select configuration components interactively
  3. 03Map selections to configuration commands
  4. 04Support check-only and automatic fixes

Use cases

  1. 01Configure only the standards a project needs
  2. 02Set up infrastructure components incrementally
  3. 03Audit selected components or apply fixes automatically

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/laurigates/claude-plugins --skill configure-select

After installing, type/configure-selectin Claude Code to confirm it loaded.

Details

From the project README

/configure:select

Interactively select which infrastructure standards checks to run.

When to Use This Skill

Use this skill when...Use another approach when...
Setting up selected components interactivelyRunning all components (use /configure:all)
Choosing specific standards to implementChecking status only (use /configure:status)
Customizing configuration scope for projectSingle component needed (use specific /configure:X skill)
User wants control over which components to configureAutomated full setup preferred
Building configuration incrementallyComplete infrastructure setup needed immediately

Context

  • Project standards: !find . -maxdepth 1 -name \'.project-standards.yaml\'
  • Project type: !find . -maxdepth 1 -name '.project-standards.yaml' -exec grep -m1 "^project_type:" {} +
  • Has terraform: !find . -maxdepth 2 \( -name '*.tf' -o -type d -name 'terraform' \) -print -quit
  • Has package.json: !find . -maxdepth 1 -name \'package.json\'
  • Has pyproject.toml: !find . -maxdepth 1 -name \'pyproject.toml\'
  • Has Cargo.toml: !find . -maxdepth 1 -name \'Cargo.toml\'

Parameters

Parse from $ARGUMENTS:

  • --check-only: Report status without offering fixes (CI/CD mode)
  • --fix: Apply fixes automatically to all selected components

Execution

Execute this interactive component selection workflow:

Step 1: Detect project type
  1. Read .project-standards.yaml if it exists (check project_type field)
  2. Auto-detect from file structure:
    • infrastructure: Has terraform/, helm/, argocd/, or *.tf files
    • frontend: Has package.json with vue/react dependencies
    • python: Has pyproject.toml or requirements.txt
    • rust: Has Cargo.toml
  3. Report detected type to user
Step 2: Present component selection

Use AskUserQuestion with multiSelect to present four category-based questions:

Question 1: CI/CD & Version Control

OptionDescription
Pre-commit hooksGit hooks for linting, formatting, commit messages
Release automationrelease-please workflow and changelog generation
GitHub ActionsCI/CD workflows for testing and deployment
All CI/CDIncludes: pre-commit, release-please, workflows, github-pages, makefile

Question 2: Container & Deployment

OptionDescription
DockerfileAlpine/slim base, non-root user, multi-stage builds
Container infraRegistry, scanning, devcontainer setup
SkaffoldKubernetes development configuration
All containerIncludes: dockerfile, container, skaffold, sentry, justfile

Question 3: Testing

OptionDescription
Test frameworkVitest, Jest, pytest, or cargo-nextest setup
Code coverageCoverage thresholds and reporting
API testingPact contracts, OpenAPI validation
All testingIncludes: tests, coverage, api-tests, integration-tests, load-tests, ux-testing, memory-profiling

Question 4: Code Quality

OptionDescription
Linting & FormattingBiome, Ruff, Clippy configuration
Security scanningDependency audits, SAST, secrets detection
DocumentationTSDoc, JSDoc, pydoc, rustdoc generators
All qualityIncludes: linting, formatting, dead-code, docs, security, editor, package-management
Step 3: Map selections to commands
SelectionCommands
Pre-commit hooks/configure:pre-commit
Release automation/configure:release-please
GitHub Actions/configure:workflows
All CI/CDpre-commit, release-please, workflows, github-pages, makefile
Dockerfile/configure:dockerfile
Container infra/configure:container
Skaffold/configure:skaffold
All containerdockerfile, container, skaffold, sentry, justfile
Test framework/configure:tests
Code coverage/configure:coverage
API testing/configure:api-tests
All testingtests, coverage, api-tests, integration-tests, load-tests, ux-testing, memory-profiling
Linting & Formatting/configure:linting, /configure:formatting
Security scanning/configure:security
Documentation/configure:docs
All qualitylinting, formatting, dead-code, docs, security, editor, package-management
Step 4: Execute selected checks

Run each selected command with appropriate flags:

  • Default: Run with --check-only first, then offer --fix
  • If --check-only flag: Only audit, no fixes offered
  • If --fix flag: Apply fixes automatically

Report results as each check completes.

Step 5: Generate summary report

Print a summary for selected components only:

Selected Components Summary:
+-----------------+----------+---------------------------------+
| Component       | Status   | Notes                           |
+-----------------+----------+---------------------------------+
| Pre-commit      | WARN     | 2 outdated hooks                |
| Linting         | PASS     | Biome configured                |
| Formatting      | PASS     | Biome configured                |
+-----------------+----------+---------------------------------+

Agentic Optimizations

ContextCommand
Interactive component selection/configure:select
Select and auto-fix/configure:select --fix
Check mode only/configure:select --check-only
Detect project typetest -f .project-standards.yaml && grep "^project_type:" .project-standards.yaml | sed 's/.*:[[:space:]]*//'

Flags

FlagDescription
--check-onlyReport status without offering fixes
--fixApply fixes automatically to all selected

Comparison with Other Commands

CommandUse Case
/configure:allRun everything (CI, full audit)
/configure:selectChoose specific components interactively
/configure:statusQuick read-only overview
/configure:<component>Single component only

See Also

  • /configure:all - Run all checks
  • /configure:status - Read-only status overview

Comments

Markdown supported