cli-command-development
Create or update CLI commands, routes, utilities, and tests in this repo. Use when adding or modifying bin/*, routes/*, utils/*, or related tests.
소스 정보
- 저장소
- SAP-samples/hana-developer-cli-tool-example
- 최근 소스 활동
- 2026년 3월 6일 20:37
- 감지된 SKILL.md 언어
- 영어
- 스타
- 112
- 포크
- 29
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- cli-command-development
- description
- Create or update CLI commands, routes, utilities, and tests in this repo. Use when adding or modifying bin/*, routes/*, utils/*, or related tests.
- argument-hint
- Command or file path + intent (e.g., bin/data-sync.js: add new option)
- user-invocable
- true
# CLI Command Development Skill
Use this skill for CLI-related implementation work across commands, routes, utilities, and tests.
## When to Use
- Adding or modifying CLI commands in `bin/`
- Updating routes in `routes/`
- Modifying shared utilities in `utils/`
- Adding or adjusting tests in `tests/`
- Updating i18n text and translations
## Procedure
1. Identify the target file(s) and the command/feature scope.
2. Apply the relevant instructions:
- CLI command development rules
- Route development rules (if under `routes/`)
- Utility module development rules (if under `utils/`)
- i18n translation and text handling rules
- Testing rules and utilities reuse
3. Make minimal, testable changes following existing patterns.
4. Update i18n properties for any new user-facing text.
5. Run targeted tests only if needed.
## Notes
- All user-facing text must use text bundles (`bundle.getText`).
- Keep CLI command options and validation consistent with existing commands.
- Prefer existing helpers in `utils/` rather than adding new ones.
## References
- [CLI command instructions](../../instructions/cli-command-development.instructions.md)
- [Route development instructions](../../instructions/route-development.instructions.md)
- [Utility module instructions](../../instructions/utility-module-development.instructions.md)
- [i18n translation instructions](../../instructions/i18n-translation-management.instructions.md)
- [Translatable text instructions](../../instructions/translatable-text-handling.instructions.md)
- [Testing instructions](../../instructions/testing.instructions.md)
- [Test utilities reuse](../../instructions/test-utilities-reuse.instructions.md)
GitHub에서 보기