소스 정보
- 저장소
- yjl9903/pushc
- 최근 소스 활동
- 2026년 7월 28일 18:02
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/yjl9903/pushc --skill pushc명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | pushc |
| description | Use when the user asks to configure pushc or send a notification with pushc. |
| metadata | {"author":"OneKuma","version":"0.1.0"} |
Use pushc to send notifications through targets owned by the user. Perform the preflight before
other operations, configure only when necessary, and never expose credentials in commands or output.
command -v pushc to check whether the executable is available.node --version, then ask before installing
the npm-distributed CLI globally with npm install -g pushc. Do not silently change the user's
global environment.pushc targets --json (plus --config <path> when the user supplied a config) to validate
the configuration and discover usable destinations. This does not test platform connectivity.config.toml is non-sensitive and may be read and edited. It must contain only placeholders for
tokens, keys, passwords, credentials, and private endpoint URLs. Never read, print, or modify an
adjacent .env; pushc itself may load it at runtime. Prefer environment interpolation for every
credential.
pushc targetsUse this command to validate the configuration and list available destinations:
pushc targets --json
The preflight already runs it, so reuse that result unless the configuration changes. Add
--config <path> only when the user supplies or selects a non-default config.
pushc sendPrerequisite: know the intended destination from pushc targets and have non-empty message content
or at least one attachment. For a real send, also require user intent to perform the external side
effect.
Not every adapter supports or uses every message capability. Before using title, param, or
attachments, read the selected adapter's reference.
Send a basic message:
pushc send --target alerts:release "Build completed"
Pass --target <adapter[:target]> unless a structured message file supplies its default target.
CLI --target overrides the target declared in that file. A destination without a colon selects
that adapter's default target and does not select its sole named target.
Add --title when the configured destination uses a title. Do not use titles to pass secrets:
pushc send --target alerts:release --title "Build completed" "Production deployment succeeded"
Add string extension parameters with --param key=value when the configured destination uses them.
These override matching params in a structured message file. Repeat the complete option for every
entry, and do not use params to pass secrets:
pushc send --target alerts:release \
--param group=deployments \
--param level=active \
"Production deployment succeeded"
When the selected destination supports attachments, repeat the complete --attachment <source>
option for every source:
pushc send --target alerts:release \
--attachment <first-source> \
--attachment <second-source> \
"Build completed"
Do not place credentials in attachment URLs or invent attachment paths; use only sources the user supplied or explicitly selected.
Add --dry-run when the user asks to preview or validate a send:
pushc send --target alerts:release --dry-run "Build completed"
A successful dry-run means the send was prepared, not performed. Attachment preparation follows the selected destination's rules.
For longer literal content, use a .txt file. Treat the entire file as one literal text string and
preserve all whitespace and line breaks:
Production deployment succeeded.
Review the deployment log before closing the release.
pushc send --target alerts:release \
--title "Build completed" \
--param environment=production \
--attachment ./report.pdf \
--file ./message.txt
Use a structured message file when the user wants to define a reusable, general-purpose message template or needs lower-level control over message structure, such as exact text/attachment ordering and attachment metadata. Prefer direct CLI content and options for ordinary one-off sends.
Prefer JSON when creating a structured message file:
pushc send --file ./message.json
Each structured file describes exactly one message. Use JSON ordered content so text and
attachments appear in a precise sequence. Omit param when the message does not need it:
{
"target": "alerts:release",
"title": "Deployment completed",
"param": {
"environment": "production",
"report_file": "report.pdf",
"report_name": "deployment-report.pdf"
},
"content": [
{
"type": "text",
"text": "{{title}} for {{param.environment}}.\n"
},
{
"type": "attachment",
"source": "./{{param.report_file}}",
"name": "{{param.report_name}}",
"media_type": "application/pdf"
},
Use {{title}} and {{param.key}} in text and attachment string fields. Use
{{param.key:-fallback}} when an empty or missing value needs a default. Substitutions run once;
do not expect values containing another expression to be expanded recursively. {{message}} is
reserved for Webhook request configuration and is not a message-content variable.
Write relative attachment paths relative to the directory containing the message file.
Use --file without positional message content. Put attachments inside a structured message file,
and do not use --attachment with that file. CLI --title overrides the file's title. CLI
--param values merge into the file's param, with CLI values taking precedence for matching keys.
TOML message files are also supported; see CLI Reference for format detection
details.
Read reference/cli.md when exact command behavior, output schemas, config resolution, input rules, exit status, or troubleshooting details matter.
Read the reference matching the selected adapter before configuring it or relying on adapter-specific send behavior:
--json to distinguish validation errors from send failures. Exit status 0 means success,
2 means usage/configuration/lookup failure, and 1 means send or unexpected runtime failure.