Skip to content

Add use-devbox agent skill - #2837

Merged
mikeland73 merged 2 commits into
mainfrom
claude/eager-einstein-k5WIz
Jun 1, 2026
Merged

Add use-devbox agent skill#2837
mikeland73 merged 2 commits into
mainfrom
claude/eager-einstein-k5WIz

Conversation

@mikeland73

Copy link
Copy Markdown
Collaborator

What

Adds a Claude Code agent skill at .claude/skills/use-devbox/SKILL.md that teaches AI coding agents how to detect and use a devbox environment.

Why

Agents working in a repo that uses devbox often don't realize that project tools (psql, python, gcloud, node, etc.) live inside the devbox environment rather than on the bare shell. As a result they conclude a tool is "unavailable" when devbox actually provides it. This skill gives an agent a clear, ordered playbook so it reaches for devbox at the right time.

What the skill covers

  • When to reach for it — a devbox.json exists, a tool seems missing, or the user mentions devbox.
  • Install checkcommand -v devbox, with the official non-interactive installer.
  • Detection — finding devbox.json in the cwd, an ancestor, or a subdir root.
  • Running commands — preferring devbox run [cmd] for one-off, non-interactive use over devbox shell.
  • Project scripts — running named scripts (devbox run test, lint, build, …) defined in devbox.json.
  • Binary source ordering — devbox-provided > system > devbox search/devbox add (only with the user's confirmation before mutating devbox.json).
  • Services and global packages for completeness.
  • A key facts recap.

Install URL and example scripts in the skill match this repo's README.md / devbox.md / devbox.json.

https://claude.ai/code/session_01K1cHquYtVhkYErHrKgNUHW


Generated by Claude Code

Add a Claude Code skill that teaches agents how to detect and use a
devbox environment: checking for installation, finding devbox.json,
running commands and project scripts via devbox run, sourcing binaries,
services, and global packages.
CopilotAI review requested due to automatic review settings May 31, 2026 17:46

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Claude Code agent skill at .claude/skills/use-devbox/SKILL.md documenting how AI agents should detect and use devbox environments in a repo.

Changes:

  • New skill file with detection, install, run, and binary-source-ordering guidance
  • Documents devbox run preference over devbox shell for non-interactive use
  • Notes project scripts, services, and global package commands

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mikeland73
mikeland73 requested a review from LagojaMay 31, 2026 17:51

@LagojaLagoja left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks for adding!

@mikeland73
mikeland73 merged commit 8f14612 into mainJun 1, 2026
24 checks passed
@mikeland73
mikeland73 deleted the claude/eager-einstein-k5WIz branch June 1, 2026 03:30
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@mikeland73@Lagoja@claude