← Back to list
The
🚅 Railway CLI (
🐙 GitHub CLI (

cli-mastery
by stars-end
Global DX Skills
⭐ 0🍴 0📅 Jan 25, 2026
SKILL.md
name: cli-mastery description: Tags: #tools #cli #railway #github #env
CLI Mastery & Environment Protocol
Tags: #tools #cli #railway #github #env
🚨 Environment Variable Protocol (CRITICAL)
Core Rule: Do NOT look for .env files.
Automation: Use the run command wrapper.
The run Command
We have installed a smart wrapper called run. It automatically detects if you need Railway secrets and injects them.
Usage:
Always prefix your execution commands with run.
- ❌
python main.py - ✅
run python main.py(Automatically becomesrailway run python main.py) - ✅
run pytest - ✅
run make dev
Verification:
If run env | grep DATABASE_URL returns nothing, then the project is not configured correctly.
🚅 Railway CLI (railway)
1. Context
- Check Environment:
railway environment - List Services:
railway service
2. Diagnosis
Don't guess. Check the logs.
# Get the last 50 lines of logs
run railway logs -n 50
🐙 GitHub CLI (gh)
1. Reading State (JSON is King)
Always use --json to get structured data.
# List open PRs
gh pr list --json number,title,author,state
2. Actions
# Create a PR
gh pr create --fill
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon