원클릭으로
click
Best practices for building CLI applications with Click including commands, groups, options, and testing.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Best practices for building CLI applications with Click including commands, groups, options, and testing.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Best practices for Django web development including models, views, templates, and testing.
Best practices for Flask web development including routing, blueprints, and testing.
Best practices for template rendering with Jinja2 including environments, filters, autoescaping, and security.
Best practices for numerical computing with NumPy including arrays, broadcasting, and vectorization.
Best practices for writing and organizing tests with pytest including fixtures, parametrize, and plugins.
Best practices for HTTP client usage with Requests including sessions, error handling, and timeouts.
| name | click |
| description | Best practices for building CLI applications with Click including commands, groups, options, and testing. |
Best practices for building CLI applications with Click including commands, groups, options, and testing.
Apply this skill when building command-line interfaces with Click — commands, groups, options, arguments, and prompts.
@click.command() for single commands, @click.group() for multi-command CLIs.@click.option() and positional args with @click.argument().help= on every option and command for auto-generated help text.envvar= to allow environment variable fallback for sensitive options.@click.group() and group.add_command().@click.pass_context to share state between group and subcommands.click.Path(exists=True), click.Choice([...]), click.IntRange()).click.testing.CliRunner() for testing commands without subprocess overhead.result.exit_code and result.output.mix_stderr=False to test stderr separately.sys.exit() — use click.exceptions.Exit or return from the command.print() — use click.echo() for proper encoding handling.KeyboardInterrupt / abort prompts gracefully.