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

ls-localsetup-framework-audit

Run doc, link, skill matrix, and version/facts checks before release. Single entrypoint script; output to user-specified path only; no in-repo default. Use when user says 'run audit', 'run framework audit', or before release.

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

설치 방법 보기

포함된 파일(5)

  • SKILL.md6.1 KB
  • scripts/audit_links.py7.3 KB
  • scripts/audit_skill_matrix.py5.6 KB
  • scripts/run_framework_audit.py17.4 KB
  • scripts/tests/test_framework_audit_hardening.py21.8 KB

SKILL.md(원문)

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

Framework audit

Purpose: One atomic skill and entrypoint to run a release-ready audit: doc checks, link checks, skill matrix smoke checks, version/facts, and optional maintainer-ref flagging. Output is written only to a user-provided path (CLI or env); no default in-repo. Exit 0 only when there are zero errors.

When to use

  • User says "run audit", "run framework audit", or "before release".
  • Pre-release: lock in for release; zero errors and zero unexplained warnings.

Workflow

  1. Run the entrypoint from repo root: python ls/skills/ls-localsetup-framework-audit/scripts/run_framework_audit.py [--output /path/to/report] or set LOCALSETUP_AUDIT_OUTPUT to a writable path. If no output path is given, the script prints a short summary to stdout only; no file is written in the repo. For installed packages, run the package script from the target repo or pass --repo-root /path/to/repo; pass --framework-root /path/to/source/ls only when auto-detection cannot find the framework source.
  2. Phases: Root prerequisites; doc checks; local Markdown target and supported ATX-heading anchor checks; plain-text refs to docs/ or ls/ as conversion warnings; skill matrix; version/facts with invalid existing facts treated as errors; and private release refs. Markdown checks skip external URLs, fenced examples, generated/dependency trees, LocalSetup project virtual environments (.venv/ and .venv-*/), and private runtime state.
  3. Report: Contains every maintainer-reference finding and a requires_review / human_decision section for items that need user resolution. The script is non-interactive; the agent presents the report and asks the user.
  4. Doc-only skills: The smoke list marks them as N/A. The script does not run tooling for those. The agent (not the script) produces an enumerated one-sentence/paragraph per logical step and flags logic gaps for user resolution, per SKILL.md of each doc-only skill.

Markdown source ownership

Link and maintainer-reference scans exclude root build/ and dist/ outputs. Nested authored paths such as docs/build/ remain in scope. Retained SDK Markdown is exempt only when the SDK manifest verifier establishes its exact unchanged upstream ownership; there is no blanket vendor/ exemption. New wrapper documents, locally patched Markdown and authored links into retained files remain checked. Failed SDK ownership verification is an audit error and grants no exemptions. Use the SDK payload validator separately for complete vendored-content integrity.

Smoke list (skill matrix)

  • Path: ls/tests/skill_smoke_commands.yaml
  • Schema: YAML map: skill_id (directory name under ls/skills/) -> command string, "N/A", or a mapping shaped like {cwd: skill-sandbox|repo-root, command: "..."}. String commands and cwd: skill-sandbox mappings run with cwd = sandbox copy of the skill. cwd: repo-root mappings run directly from the repository root for tool-backed skills whose executable lives outside the skill directory. N/A = doc-only; no runnable smoke; audit uses agent step summary only.
  • One entry per skill in ls/skills/*. The audit script reads this file as single source of truth for which skills have tooling to smoke.

Dependencies (framework invariant)

  • PyYAML: The entrypoint calls the shared lib.deps.require_deps(["yaml"]) helper at startup, so a missing dependency exits with an actionable install message instead of a bare import failure. Sync framework dependencies with uv sync --locked --no-dev or rerun install with --sync-env.
  • Sandbox tooling: The audit may call ls/skills/ls-skill-sandbox-tester/scripts/create_sandbox.py and run_smoke.py to run skill smoke commands in an isolated copy. Both the audit skill and the sandbox-tester skill ship with the framework; no external dependency.

Tooling

ItemPurpose
scripts/run_framework_audit.pySingle entrypoint: doc, link, skill matrix, version/facts; output path from CLI or env; exit 0 only if no errors.

Quick start:

# Output to file
python ls/skills/ls-localsetup-framework-audit/scripts/run_framework_audit.py --output /path/to/audit_report.md

# Or env
export LOCALSETUP_AUDIT_OUTPUT=/path/to/audit_report.md
python ls/skills/ls-localsetup-framework-audit/scripts/run_framework_audit.py

# Summary only (no file written)
python ls/skills/ls-localsetup-framework-audit/scripts/run_framework_audit.py

# Installed package, run from the repo being audited
python ~/.local/share/localsetup/packages/ls-localsetup-framework-audit/scripts/run_framework_audit.py --output /path/to/audit_report.md

# Explicit target repo and framework source
python ~/.local/share/localsetup/packages/ls-localsetup-framework-audit/scripts/run_framework_audit.py \
  --repo-root /path/to/repo \
  --framework-root ~/.local/share/localsetup/source/ls \
  --output /path/to/audit_report.md

Errors vs warnings

  • Error: Invalid repository/framework prerequisites, smoke non-zero/crash, syntax/lint failure, missing required doc, missing local Markdown target or supported anchor, or an existing invalid/versionless facts file. Exit non-zero.
  • Warning: Missing optional facts, plain-link conversion candidate, N/A, maintainer reference, or another item to fix or explicitly accept; every logical warning is counted and logged in the report. Zero errors and zero unexplained warnings before release.

References

  • ls/docs/TOOLING_POLICY.md (lint/quality; audit uses for tooling expectations)
  • ls/docs/INPUT_HARDENING_STANDARD.md (script follows for all external input)
  • ls/tests/skill_smoke_commands.yaml (smoke list path and schema)

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Guide accessibility reviews for UI, documents, and workflows. Use for WCAG-oriented audits, keyboard review, semantics, contrast, and remediation planning.

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

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Use when choosing a LocalSetup Agent-* lane for exploration, research, bounded implementation, or review. Consult the static capability matrix; do not probe account or network availability.

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

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Guide agent email inbox workflows with prompt-injection defenses. Use for inbound email processing, webhooks, routing, and safety review.

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

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.

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

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Use for Agent Q signed encrypted file-drop or mail ship and ingest, private registry v2 setup, queue status, and transport maintenance.

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

CruxExperts/LocalSetup62026년 10월 22일 업데이트

Inventory wrapper for the alirezarezvani Claude skills bundle. Use when triaging its broad skill catalog and large script surface before any targeted import.

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

CruxExperts/LocalSetup62026년 10월 22일 업데이트

CruxExperts의 스킬 모두 보기

이 스킬의 문제 신고