스킬 command-optimization

command-optimization

안전 ⚙️ 외부 명령어🌐 네트워크 접근

設計與優化 CLI 指令

또한 다음에서 사용할 수 있습니다: Joseph OBrien

建立有效的命令列介面需要理解設計模式、參數解析與使用者體驗原則。此技能提供專家級指引,協助打造直覺、文件完善且遵循既定慣例的 CLI 工具。

지원: Claude Codex Code(CC)
🥉 73 브론즈
1

스킬 ZIP 다운로드

2

Claude에서 업로드

설정 → 기능 → 스킬 → 스킬 업로드로 이동

3

토글을 켜고 사용 시작

테스트해 보기

"command-optimization" 사용 중입니다. Create a command to generate React components

예상 결과:

  • Command: generate:component
  • Usage: npm run generate:component <Name> [options]
  • Options: --path <path>, --type <functional|class>, --with-tests, --with-styles
  • Examples included with clear usage patterns

"command-optimization" 사용 중입니다. Design a CLI command for database migrations

예상 결과:

  • Command: db:migrate
  • Usage: npm run db:migrate [migration-name] [options]
  • Options: --create <table>, --rollback, --status, --to <version>
  • Step-by-step workflow for migration operations

보안 감사

안전
v3 • 1/16/2026

Pure prompt-based skill containing only documentation and guidance for CLI command design. No executable code, scripts, network calls, or file system access. All content is instructional with no security concerns. All 112 static findings are false positives.

3
스캔된 파일
589
분석된 줄 수
2
발견 사항
3
총 감사 수

위험 요인

⚙️ 외부 명령어 (61)
references/slash-command.template.md:24 references/slash-command.template.md:25 references/slash-command.template.md:37-39 references/slash-command.template.md:39-51 references/slash-command.template.md:51-53 references/slash-command.template.md:53-59 references/slash-command.template.md:59-60 references/slash-command.template.md:60-70 references/slash-command.template.md:70-71 references/slash-command.template.md:71-72 references/slash-command.template.md:72-76 references/slash-command.template.md:76-78 references/slash-command.template.md:78-79 references/slash-command.template.md:79-80 references/slash-command.template.md:80-81 references/slash-command.template.md:81-85 references/slash-command.template.md:85-87 references/slash-command.template.md:87-89 references/slash-command.template.md:89-102 references/slash-command.template.md:102-104 references/slash-command.template.md:104-107 SKILL.md:40-42 SKILL.md:42-44 SKILL.md:44-46 SKILL.md:46-50 SKILL.md:50-52 SKILL.md:52-67 SKILL.md:67-73 SKILL.md:73-86 SKILL.md:86-92 SKILL.md:92-107 SKILL.md:107-116 SKILL.md:116-122 SKILL.md:122-123 SKILL.md:123-124 SKILL.md:124-125 SKILL.md:125-126 SKILL.md:126-151 SKILL.md:151-158 SKILL.md:158-168 SKILL.md:168-172 SKILL.md:172-174 SKILL.md:174-178 SKILL.md:178-179 SKILL.md:179-180 SKILL.md:180-181 SKILL.md:181-185 SKILL.md:185-191 SKILL.md:191-195 SKILL.md:195-207 SKILL.md:207-215 SKILL.md:215-219 SKILL.md:219-221 SKILL.md:221-225 SKILL.md:225-226 SKILL.md:226-227 SKILL.md:227-228 SKILL.md:228-232 SKILL.md:232-244 SKILL.md:244-246 SKILL.md:246-250
🌐 네트워크 접근 (1)
감사자: claude 감사 이력 보기 →

품질 점수

41
아키텍처
100
유지보수성
85
콘텐츠
30
커뮤니티
100
보안
100
사양 준수

만들 수 있는 것

標準化 CLI 指令

在專案中建立一致的指令模式,以提升開發者體驗與可維護性。

自動化任務腳本

設計命令列工具以高效率自動化重複的部署與維護工作。

建置 CLI 公用程式

開發結構良好的 CLI 公用程式,並具備正確的參數處理與錯誤回饋。

이 프롬프트를 사용해 보세요

建立新指令
Create a command to generate [component-type] with [options]
改善既有指令
Improve the user experience of this command: [paste command code]
設計參數結構
Design an argument parsing structure for a [command-type] command that accepts [input-types]
新增錯誤處理
Add robust error handling and validation to this CLI command: [paste command code]

모범 사례

  • 使用清晰、以行動為導向的指令名稱(generate, create, build)
  • 及早驗證輸入,提供具體且可行的錯誤訊息
  • 支援 --dry-run 以便預覽,並提供 --verbose 以輸出詳細資訊

피하기

  • 使用含糊且目的不明的指令名稱
  • 在操作前未驗證檔案是否存在與權限
  • 提供缺乏上下文或建議修正的通用錯誤訊息

자주 묻는 질문

哪些 AI 工具有支援此技能?
此技能適用於 Claude、Codex 與 Claude Code,可用於所有指令設計與優化任務。
此技能會執行 shell 指令嗎?
不會。此技能僅提供指引與範本,不會執行或修改任何系統指令。
它能產生完整的 CLI 工具嗎?
它會提供指令設計與模式。實際程式碼需由你在專案中實作。
使用此技能時我的資料安全嗎?
是的。此技能僅為提示型,不會存取檔案、網路或系統資源。
它建議的指令命名慣例是什麼?
建議使用以行動為導向的名稱,例如 generate:component、analyze:dependencies、db:migrate,並採一致的 動詞:名詞 結構。
這與框架專用的 CLI 工具相比如何?
此技能教授通用的 CLI 原則。請使用各框架的專用工具在該框架內進行實際程式碼產生。

개발자 세부 정보

작성자

Joseph OBrien

라이선스

UNLICENSED

참조

main

파일 구조