Skip to content
Back to skills

Cli First

ASecurity

Convention for using CLI tools and environment variables when interacting with third-party services like AWS, Vercel, Supabase, Stripe, GitHub, and Google Cloud. Read this when working on external services, deployments, infrastructure, or API integrations.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 17, 2026
developmentgoawsgitapi

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add Bobi-Labs/bobi-stack-template --skill cli-first --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli First?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cli First
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bobi-labs-cli-first/badge)](https://www.skillsdirectory.com/skills/bobi-labs-cli-first)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cli-first
description: Convention for using CLI tools and environment variables when interacting with third-party services like AWS, Vercel, Supabase, Stripe, GitHub, and Google Cloud. Read this when working on external services, deployments, infrastructure, or API integrations.
user-invocable: true
---

# CLI-First Development Convention

Always prefer CLI tools over web dashboards, REST APIs, or connector plugins when interacting with external platforms.

## Why

- Direct terminal control without navigating GUIs
- Scriptable, repeatable, automatable
- CLI tools are typically more current and capable

## Credential Management

Before using any CLI tool, check `.env*` files in priority order:

1. `.env.local` (highest priority, gitignored)
2. `.env`
3. Environment-specific: `.env.development`, `.env.production`

Never hardcode credentials. Use `./ops.sh env-pull` to sync from Vercel.

## Workflow

1. Check if the CLI tool is available (`which vercel`, `which supabase`, etc.)
2. Read `.env*` files for credentials and project IDs
3. Confirm authentication (`vercel whoami`, `supabase status`, etc.)
4. Execute the operation via CLI
5. If the tool isn't installed, suggest installation rather than working around it

## Common CLI Tools

| Service | CLI | Typical Use |
|---------|-----|-------------|
| Vercel | `vercel` | Deploy, env vars, logs, domains |
| Supabase | `supabase` or `npx supabase` | Gen types, migrations, DB access |
| GitHub | `gh` | PRs, issues, releases, actions |
| AWS | `aws` | S3, Lambda, CloudFront |
| Stripe | `stripe` | Webhooks, test payments |
| Google Cloud | `gcloud` | Service accounts, storage |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.