Skip to content

docker-compose-stacks skill documents stack paths and flags the tools do not have #93

Closed

Description

@TMHSDigital

Summary

The docker-compose-stacks skill describes a stack layout and parameters that the compose tools do not have. Agents following it build invalid stacks values or promise options that do not exist.

Where

  • skills/docker-compose-stacks/SKILL.md:38-56, :90-92, :102, :132
  • Actual behavior: mcp-server/src/tools/composeUp.ts:8-14,29-37, composePs.ts:15

Details

  • The skill describes "seven stack directories" (base/, monitoring/, ...) and calls tools "with stack path /opt/homelab/docker/monitoring". The code uses one directory with compose.<stack>.yml files passed with -f, and stacks takes file names such as ["compose.monitoring.yml"].
  • homelab_composePs takes no stack parameter, but the skill implies it does.
  • The skill offers --force-recreate, which is not a tool parameter.
  • The skill says to pass a --remove-orphans flag. There is no flag; composeUp always passes it.

Impact

Agents produce calls like -f /opt/homelab/docker/monitoring that fail, or tell users about options that do not exist.

Suggested fix

Rewrite the workflow and examples to use stacks: ["compose.monitoring.yml"]. Remove the path and flag wording, and note that composePs always covers all stacks.

Acceptance criteria

  • Every example in the skill matches the tool schemas
  • Structure tests still pass

Getting started

  • Relevant files: skills/docker-compose-stacks/SKILL.md, mcp-server/src/tools/compose*.ts
  • How to run tests: pip install -r requirements-test.txt && pytest tests/ -v

Filed by repo-audit/full-audit at 9cfe5e3. Severity: medium. Effort: S. audit-key: documentation|skills/docker-compose-stacks/SKILL.md|stacks

Activity

  1. added
    documentation
    good first issue
    severity: medium
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationgood first issueseverity: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions