本文へ移動
cccskills
無料GitHub で公開

license-compliance-credits

Regenerate docs/THIRD-PARTY-NOTICES.md from provenance/borrows.jsonl after any ledger change — even a single new entry — never hand-edit the notices file

インストール方法を見る

含まれるファイル(2)

  • SKILL.md4.2 KB
  • evals/triggers.json2.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

license-compliance-credits

When to use

  • provenance/borrows.jsonl just gained, lost, or changed a line (a new borrow was ledgered via license-compliance-borrow-check, or a correction line was appended).
  • npx tsx node_modules/@event4u/agent-config/src/scripts/lint_provenance.ts reports the notices file is out of sync with the ledger.
  • Someone asks "are our third-party notices up to date?" or "regenerate the credits file".

Do NOT use when:

  • You want to add a NEW borrow — that starts at license-compliance-borrow-check; this skill only regenerates the derived file from an already-updated ledger.
  • The ledger itself needs fixing (a deny-class entry, a missing note) — fix the offending line via license-compliance-borrow-check's discipline first; this skill cannot repair a bad ledger, only render it.

Procedure

  1. Inspect the current state — read provenance/borrows.jsonl (it may be legitimately empty) and note how many lines it has before regenerating, so the diff is checkable.
  2. Regenerate the notices file:
    npx tsx node_modules/@event4u/agent-config/src/scripts/lint_provenance.ts --regenerate-notices
    
  3. Diff docs/THIRD-PARTY-NOTICES.md before vs. after — confirm only that generated file changed, and that provenance/borrows.jsonl itself was not touched (it is append-only; this command never writes to it).
  4. Verify sync + validity with a plain run (no flag):
    npx tsx node_modules/@event4u/agent-config/src/scripts/lint_provenance.ts
    
    Exit code 0 confirms every ledger record is schema-valid, no deny-class or unknown license slipped through, no transformation note reads as rename-only, and the notices file now matches the ledger byte-for-byte.
  5. If the linter fails, stop — do not hand-patch docs/THIRD-PARTY-NOTICES.md to make it pass. Fix the actual offending line in provenance/borrows.jsonl via license-compliance-borrow-check, then re-run step 2.

Output format

  1. The regenerate command's exit status and a one-line summary of what changed in the notices file (e.g. "added 1 entry: <source_url> (<license>)", or "no borrows recorded" for the honest empty-ledger state).
  2. The follow-up lint_provenance (no flag) exit code, confirming sync — never report success on the regenerate step alone.

Gotcha

  • docs/THIRD-PARTY-NOTICES.md is generated — a hand-edit is invisible until the next lint_provenance run flags the drift as a linter failure, not as an obvious diff. Always regenerate; never patch the file directly.
  • An empty ledger is the honest starting state, not a bug — it renders a plain "no borrows recorded" line. Do not "fix" that by adding a placeholder entry.
  • This skill cannot make a bad ledger pass — if lint_provenance (no flag) still fails after regenerating, the defect is in provenance/borrows.jsonl, not in the notices file.

Do NOT

  • NEVER hand-edit docs/THIRD-PARTY-NOTICES.md.
  • NEVER skip the post-regenerate lint_provenance (no-flag) run — regeneration and validation are two different checks; passing one does not imply the other passed.
  • NEVER add or edit a line in provenance/borrows.jsonl from this skill — that belongs to license-compliance-borrow-check.

See also

  • code-provenance — the rule that makes a ledger entry mandatory before a conscious borrow lands.
  • license-compliance-borrow-check — where new ledger entries are drafted and fixed.
  • provenance/README.md — the ledger's append-only contract.
  • node_modules/@event4u/agent-config/src/scripts/lint_provenance.ts — the linter this skill wraps.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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-config112026年10月13日 更新

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-config112026年10月13日 更新

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-config112026年10月13日 更新

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-config112026年10月13日 更新

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-config112026年10月13日 更新

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-config112026年10月13日 更新

event4u-app のスキルをすべて見る

このスキルの問題を報告する