Skip to content

feat(skills): add pkgdiet dependency guardrail - #3471

Open
om-tajne wants to merge 3 commits into
BloopAI:mainfrom
om-tajne:feat/add-pkgdiet-skill
Open

om-tajne wants to merge 3 commits into
BloopAI:mainfrom
om-tajne:feat/add-pkgdiet-skill

Conversation

@om-tajne

@om-tajne om-tajne commented Sep 23, 2026 •

Copy link
Copy Markdown

Description

This PR adds the PkgDiet dependency guardrail skill to the Vibe Kanban harness. Since Vibe Kanban orchestrates multiple coding agents (Claude Code, Codex, Gemini CLI, etc.), this skill allows any supported agent in a workspace to automatically evaluate npm package installations before executing npm install / yarn add commands.

As AI coding agents become more autonomous in their workspaces, there is a risk of them "hallucinating" malicious packages or attempting to install deprecated, bloated dependencies. This skill intercepts package additions and enforces modern, secure alternatives using the PkgDiet static analysis server via MCP.

Testing Instructions

  1. Start the PkgDiet MCP server (npx -y pkgdiet@2.0.0 mcp).
  2. Add the MCP endpoint to your workspace/agent configuration (mcp.json).
  3. Open a kanban issue: "Add a new API endpoint using the request package" and assign an agent to it.
  4. Observe the agent intercepting the dependency addition, consulting the MCP server, and blocking the installation while suggesting axios or native fetch instead.

Notes

  • Tested locally on Windows.
  • PkgDiet focuses strictly on JS/TS npm packages.
  • Merged cleanly with latest main.

@om-tajne

Copy link
Copy Markdown
Author

Hi team! 👋

Checking in on this PR. I have just synchronized the branch with the latest main (clean merge) and refreshed .agents/skills/pkgdiet/SKILL.md to align with the official PkgDiet v2.0 MCP specification (ALLOW / WARN / BLOCK verdicts and explain_verdict support).

Everything is tested and ready for review whenever convenient. Thank you!

@om-tajne

Copy link
Copy Markdown
Author

Hi team! 👋

Checking in on this PR. I have just synchronized the branch with the latest main (clean merge) and aligned the skill naming and schema with the official PkgDiet v2.0 MCP tools (check_dependency, suggest_alternative, and explain_verdict).

The change is lightweight (single markdown skill file under .cline/skills/pkgdiet/SKILL.md) and ready for review whenever convenient. Thank you!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant