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

lint-skills

Use when running the package's skill linter against all skills and rules to validate frontmatter, required sections, and execution metadata.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.6 KB

SKILL.md(원문)

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

lint-skills

When to use

Use this skill when:

  • Validating the shape of every skill and rule in src/
  • Verifying execution metadata (execution.type, handler, command) is well-formed
  • Checking locally before opening a PR that CI's skill-lint job will pass
  • Investigating a reported linter failure on a specific skill or rule

Do NOT use when:

  • Linting only one file — call ./scripts-run src/scripts/skill_linter <path> directly
  • Checking cross-references between files — use check-refs instead
  • Checking condensation freshness — use bash scripts/condense.sh --check instead

Procedure

1. Inspect the environment

Confirm ./scripts-run is executable and the working directory is the agent-config repository root — the linter expects to find src/skills/ and related directories relative to cwd.

2. Dispatch via the runtime layer

Invoke the skill through the runtime dispatcher so the execution: block in this skill's frontmatter governs the call:

./scripts-run src/scripts/runtime_dispatcher run --skill lint-skills

The dispatcher resolves the request, the shell handler runs ./scripts-run src/scripts/skill_linter --all, captures stdout/stderr, and returns a typed ExecutionResult.

3. Verify the result

Check the returned ExecutionResult:

  • status: success and exit_code: 0 → all skills and rules are clean
  • exit_code: 1 → warnings only — review stdout for the listed warnings
  • exit_code: 2 → errors present — fix the flagged files before continuing
  • status: timeout → the linter exceeded timeout_seconds — investigate
  • status: error → the runner could not launch — check that ./scripts-run is on PATH and the repository root is the current working directory

Output format

  1. One-line summary: success | failure | timeout | error, exit code, duration in milliseconds
  2. Count of skills and rules the linter inspected, if known
  3. List of files with errors (first 10), each with code and message
  4. Next action: fix errors, re-run, or surface the raw stdout for review

Gotchas

  • The command uses --all, which walks the full tree — expect several seconds of runtime on a warm repo; bump timeout_seconds if the repo has grown
  • Running outside the agent-config repo root will make the linter report zero skills, which looks like a pass but is actually a no-op
  • Warnings (exit_code: 1) do not fail CI by default; do not dismiss them as "green" when the task is to get to zero warnings

Do NOT

  • Do NOT invoke src/scripts/skill_linter.ts directly when the intent is to test the runtime path — use the dispatcher so the handler and result object are exercised
  • Do NOT raise timeout_seconds to hide a genuinely slow linter pass — investigate the slowdown first
  • Do NOT add shell redirection or pipes to command — the handler runs subprocess.run with shell=False; only argv form is supported

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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-config132026년 10월 23일 업데이트

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-config132026년 10월 23일 업데이트

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-config132026년 10월 23일 업데이트

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-config132026년 10월 23일 업데이트

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-config132026년 10월 23일 업데이트

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-config132026년 10월 23일 업데이트

event4u-app의 스킬 모두 보기

이 스킬의 문제 신고