The extension discovers documented Makefile targets and presents them as VS Code tasks. A target is discoverable when it has a non-empty preceding or inline ## description. The extension ignores undocumented targets, helper rules, pattern rules, variable assignments, and unsupported target names.
## Single-line description for the build task
build:
go build ./...
.PHONY: build
test: ## Inline description for the test task
go test ./...
.PHONY: test
Organize tasks with canonical section comments. The extension groups tasks by category in the Activity Bar explorer and places uncategorized tasks under Uncategorized.
# ─── Skills Manager ────────────────────────────────────────────────────
skills-agent-add: ## Provision Agent Skills
skills add ./skills
skills-agent-update: ## Update Agent Skills
skills update ./skills
# --- Dependencies ------------------------------------------------------
dependency-update: ## Update project dependencies
renovate --platform=local
# === Test ==============================================================
test: ## Run the test suite
go test ./...
Document expected positional arguments or Make variable assignments with optional # Usage: metadata. Usage metadata is descriptive and does not validate or supply runtime arguments.
# Usage: make deploy ENV=<name> [VERSION=<version>]
#
deploy: ## Deploy the application
./scripts/deploy --env "$(ENV)" --version "$(VERSION)"
.PHONY: deploy
Run targets with positional arguments or Make variable assignments through Run Target with Arguments or makefileTarget task definitions.
# Usage: make build [MODE=<mode>]
#
build: ## Build the application
go build -tags "$(MODE)" ./...
.PHONY: build
1.3. MCP Server
The optional stdio MCP server exposes the extension's Makefile parser to AI agents without executing Make. Its list_make_targets tool returns documented targets, descriptions, categories, usage metadata, and zero-based source lines.
npm install
npm run mcp:start
The server reads workspace-relative Makefile paths from the current directory. Set MAKE_TASKS_MCP_ROOT to use another workspace root. Requests that resolve outside that root are rejected.
Example tool input:
{
"makefile": "Makefile"
}
Build and exercise the server with MCP Inspector:
npm run mcp:inspect
The server uses stdout exclusively for MCP messages and writes its readiness message to stderr.
The publisher page for the extension, including version history, download statistics, and links to the source repository.
Usage and Instructions
Tasks
The repository Makefile provides documented targets for installing dependencies, validating changes, building, packaging, and installing the extension locally.
make vsce-dependencies
make vsce-build
make vsce-package
make vsce-install