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

skillsaw-onboard

Onboard a repository to skillsaw — run the linter, triage the findings by rule, apply autofixes, manually fix what remains, set up CI, and create a baseline. Use when adopting skillsaw on a new or existing project.

インストール方法を見る

含まれるファイル(13)

  • SKILL.md6.4 KB
  • references/01-install.md726 B
  • references/02-initial-scan.md331 B
  • references/03-autofix.md667 B
  • references/04-manual-fixes.md682 B
  • references/05-baseline.md276 B
  • references/06-configuration.md539 B
  • references/07-ci.md1.6 KB
  • references/08-external-links.md1.2 KB
  • references/09-makefile.md1.2 KB
  • references/10-badge.md891 B
  • references/11-verify.md501 B
  • references/12-triage.md3.6 KB

SKILL.md(原文)

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

skillsaw Onboard

Onboard this repository to skillsaw, a linter for agentic contextual building blocks (CLAUDE.md, skills, plugins, agents, hooks, etc.).

Workflow

Ask one routing question at a time and wait for the answer. An explicit choice in the user's request already counts as an answer. Read a reference only after its condition or a yes answer routes to it; do not read the reference to formulate the question. After completing it, return here. If the answer is no, continue to the next checkpoint without reading it. Carry forward the command prefix, counts, choices, and changed-file list.

Resolve every references/... path relative to the directory containing this SKILL.md, never relative to the target repository or the process's current working directory. If this file was fetched from the web, resolve each reference against the parent URL of this file and fetch it from that sibling location.

Replace brace-delimited fields below with facts from the repository or scan; never show placeholders to the user, and render singular or plural wording naturally.

1. Establish the current state

If no working skillsaw command is known, read install. Then read initial scan and report its violations before offering changes.

2. Triage findings by rule

Run skillsaw lint --format json -v to see all violations, including the info-level ones the first scan hid. Group the results by rule_id and sort them by count. Sample 3–5 examples from any large cluster (e.g. >10% of total findings or >20 issues) to understand the root cause before deciding on an action.

Follow triage to categorize each group into Fix now, Baseline, or Configure, and present a clear summary table to the user for confirmation before making changes. Carry the agreed buckets into the subsequent steps.

3. Apply autofixes

If the Fix now bucket holds autofixable findings, ask:

The plan includes autofixes for {count} violations: {safe count} safe and {suggest count} suggested. Applying them will edit the affected context files; I will show the changes and lint again afterward. Should I apply those fixes now?

If yes, read autofix. If no, preserve the count.

4. Make judgment-based fixes

If violations remain, offer manual fixes and a baseline as alternatives. A baseline is especially useful when hundreds of findings would otherwise block adoption or the user wants to move forward from a clean starting point. Ask:

{count} violations remain and need judgment rather than a mechanical fix. I can inspect and fix them now, or review them as accepted existing debt and baseline them in step 6 so onboarding can move forward while CI catches new findings. Which path would you prefer?

If the user chooses fixes, read manual fixes. If the user chooses a baseline, review the remaining findings by rule, severity, and affected paths. The baseline command records every eligible finding that remains, so fix, suppress, or otherwise remove anything the user does not accept before continuing; pause onboarding if that cannot be done safely. Then preserve the accepted remaining set for the baseline decision. Do not require accepted findings to be fixed first.

5. Add or update configuration

If the triage plan placed any rule in Configure, read configuration without asking again; the user confirmed those settings in step 2. Otherwise, if .skillsaw.yaml is missing, ask:

This repository has no .skillsaw.yaml. I can add the default tracked configuration so rule settings and exclusions have an explicit place; lint behavior remains at the defaults until it is customized. Should I create it?

If yes, read configuration.

6. Baseline accepted violations

If reviewed violations remain, ask:

{count} reviewed violations remain. A baseline records them in .skillsaw-baseline.json as accepted debt so CI fails only on new violations; it does not fix them, and the file can shrink as they are fixed. Should I create or update that baseline?

If yes, read baseline.

7. Add skillsaw CI

Ask:

I can add skillsaw to {detected CI system or "your CI"} so future changes are linted automatically. GitHub uses a pinned, read-only lint workflow; optional PR comments use a separate write-enabled workflow. GitLab gets a Code Quality job. Should I set this up? If yes, which CI system?

If yes, read CI, using the named CI system.

8. Add external link checking

If GitHub Actions is available, ask separately:

External links decay over time and need recurring audits, but checking them during every skillsaw lint would add network access, latency, and failures caused by third-party outages. We recommend a dedicated link checker such as Lychee for this job. I can add a weekly GitHub Actions workflow that runs Lychee on a schedule or manually, outside your pull-request merge gate. This adds .github/workflows/link-check.yml and a pinned third-party Action to maintain. Would you like me to set that up?

If yes, read external links.

9. Add local commands

Ask:

I can add version-pinned lint and lint-fix Makefile targets for repeatable local use through uvx or a container, without overwriting existing targets. This creates or edits Makefile. Should I add them?

If yes, read Makefile.

10. Add a grade badge

If the repository has a README, ask:

I can generate .skillsaw-badge.json and add a skillsaw grade badge to the README. The badge reflects the committed lint result, ignores the baseline, and must be regenerated when agent context changes. Should I add it?

If yes, read badge.

11. Verify the result

After all accepted routes finish, always read verification.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

Create a skillsaw rule plugin — a pip-installable Python package that adds custom lint rules to skillsaw. Walks through scaffolding the package, writing rules against the lint tree, testing, and publishing to PyPI. Use when a user wants to share skillsaw rules across repositories or publish them for others.

日本語の概要は準備中です。原文の説明を表示しています。

stbenjam/skillsaw682026年10月11日 更新

Survey the AI coding assistant and agentic tool ecosystem, assess skillsaw's competitive position, identify emerging patterns and missing capabilities, and produce a prioritized strategic report as a GitHub issue. Use when evaluating ecosystem trends and product gaps.

日本語の概要は準備中です。原文の説明を表示しています。

stbenjam/skillsaw682026年10月11日 更新

Fix skillsaw lint violations — apply deterministic autofixes, then resolve the remaining violations with targeted edits guided by `skillsaw explain`. Use when skillsaw reports violations, when asked to clean up lint findings, or after `skillsaw fix` leaves violations behind.

日本語の概要は準備中です。原文の説明を表示しています。

stbenjam/skillsaw682026年10月11日 更新

Use when skillsaw reports a likely false positive, misses an edge case, behaves incorrectly, or needs an RFE. Gather a safe report and, only with explicit user permission, create a feedback bundle or open a GitHub issue.

日本語の概要は準備中です。原文の説明を表示しています。

stbenjam/skillsaw682026年10月11日 更新

Pick up open GitHub issues from collaborators and create PRs to solve them. Use when triaging and resolving reported bugs or feature requests.

日本語の概要は準備中です。原文の説明を表示しています。

stbenjam/skillsaw682026年10月11日 更新

Triage a GitHub issue filed against skillsaw — classify it (bug, feature, docs, question, other), verify its claims against the codebase, enrich it with missing details, and post one structured triage comment. Use when triaging and labeling incoming issues, not to fix them.

日本語の概要は準備中です。原文の説明を表示しています。

stbenjam/skillsaw682026年10月11日 更新

stbenjam のスキルをすべて見る

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