본문으로 건너뛰기
cccskills
무료GitHub에 공개

command-routing

Use when the user invokes a slash command like /create-pr, /commit, /fix-ci, or pastes command file content — routes to the right command with context inference and GitHub API patterns.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구JiraGitHub
설치 방법 보기

포함된 파일(3)

  • SKILL.md5.9 KB
  • evals/evals.json700 B
  • evals/triggers.json1.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

commands

When to use

Triggered when user invokes a slash command. The slash-command-routing-policy rule (always loaded) handles core behavior — this skill adds context inference and GitHub API patterns.

Procedure: Execute a command

  1. Match command — Find the command file in .augment/commands/ or agents/overrides/commands/.
  2. Infer inputs — Before asking the user, try to infer values (see table below). 2b. List a matching playbook in the preamble. If a playbook's task matches the command's name, name it before the steps run — it is this repository's own procedure and outranks a shipped one (playbook-precedence).
  3. Execute steps — Follow the command steps in exact order.
  4. Verify output — Confirm expected result was produced (commit, PR, file change, etc.).

Before asking the user for input, try to infer it:

Input neededHow to infer
Jira ticketExtract from branch name (fix/DEV-1234-... → DEV-1234)
Default branchgit symbolic-ref refs/remotes/origin/HEAD or assume main
Project typeCheck for artisan (Laravel) or composer.json (Composer)
Module nameExtract from current working directory or file path
Current branchgit branch --show-current

Only ask the user if inference fails and the command cannot proceed without the value.

Command locations

LocationScope
.augment/commands/Shared commands (work across projects)
agents/overrides/commands/Project-specific overrides (used instead of original)

Commands that dispatch to the work engine

Most commands are pure markdown procedures — the agent reads the steps and executes them. Two commands delegate to the work_engine engine (TypeScript, run via tsx) via the ./agent-config dispatcher; both share the same Option-A loop (read state → run engine → handle exit code → repeat), they only differ in the input envelope they build:

CommandSubcommandEnvelopeUse when
/implement-ticket./agent-config implement-ticketinput.kind="ticket"User points at a Jira/Linear ticket or supplies a structured ticket payload
/work./agent-config workinput.kind="prompt"User supplies a free-form prompt — no ticket id, no acceptance criteria yet

Route prompt-shaped intents ("add a CSV export endpoint…", "fix the failing login test", "refactor the audit-log controller") to /work. Route ticket-shaped intents ("work on PROJ-123", "start on the ticket on this branch") to /implement-ticket. If the user pastes both a ticket id and a free-form goal, prefer /implement-ticket and let it pull the AC from the ticket — /work is the fallback when no ticket exists.

The actual step logic, halt formats, scoring breakdowns, and delivery report are emitted by the engine. Do not paraphrase or reorder engine output — surface it as-is. The two flows are mutually exclusive at the state-file level: one .work-state.json carries one envelope at a time, and the engine refuses to switch mid-flight.

The unified ./agent-config migrate command sweeps any legacy .implement-ticket-state.json file into the v1 .work-state.json schema as one of its cleanup steps (see docs/contracts/migrate-command.md). The wrapper invokes it automatically when the legacy file is detected; agents should not bypass the dispatcher.

GitHub API: Replying to PR review comments

When commands reply to PR review comments (e.g. /fix-pr-comments):

1. Read the setting

Read github.pr_reply_method from .agent-settings.yml:

ValueAPI call
replies_endpointPOST /repos/{owner}/{repo}/pulls/comments/{comment_id}/replies with {"body": "..."}
create_review_commentPOST /repos/{owner}/{repo}/pulls/{number}/comments with {"body": "...", "in_reply_to": comment_id}
autoTry replies_endpoint first. If it works → update setting. If 404/error → try create_review_comment.

2. No bot icon prefix

Never prefix the reply body with 🤖 — 🤖 is on the universal blacklist of no-decorative-emojis-in-git-surfaces.

3. API call rules

  • data must be clean JSON with ONLY required API fields — no summary or extra params.
  • Each reply is a separate API call — do NOT batch.
  • On first success with auto → update github.pr_reply_method in .agent-settings.yml to the method that worked.

Validate

  1. Verify all command steps were executed in order.
  2. Confirm expected output was produced (commit, PR, file change, etc.).
  3. Check that no step was skipped or improvised.

Output format

  1. Command executed — all steps completed in order
  2. Final result or summary as defined by the command

Gotcha

  • Don't ask questions when executing a command unless the command says "ask the user".
  • Don't add opinions during execution — follow steps exactly.
  • If a step fails, stop and report — don't improvise.

Do NOT

  • Do NOT ask questions during command execution unless the command says "ask the user".
  • Do NOT add opinions or summaries — execute steps exactly as written.
  • Do NOT improvise when a step fails — stop and report.

Auto-trigger keywords

  • slash command
  • command execution
  • agent command

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

event4u-app/agent-config122026년 10월 21일 업데이트

event4u-app의 스킬 모두 보기

이 스킬의 문제 신고