Skip to content

feat(catalog): add tokei and scc catalog entries#30

Merged
CybotTM merged 2 commits into
mainfrom
feat/catalog-tokei-scc
May 20, 2026
Merged

feat(catalog): add tokei and scc catalog entries#30
CybotTM merged 2 commits into
mainfrom
feat/catalog-tokei-scc

Conversation

@CybotTM

@CybotTM CybotTM commented May 20, 2026

Copy link
Copy Markdown
Member

Summary

tokei and scc were already recommended throughout the skill (in SKILL.md's tool selection table as the modern replacement for cloc, and with full usage examples in references/preferred-tools.md), but they had no catalog/*.json entry — so the install/audit workflow couldn't actually install them.

This PR closes that gap:

  • Adds catalog/tokei.json (install methods: cargo, brew)
  • Adds catalog/scc.json (install methods: github_release_binary, go, brew)
  • Bumps the cataloged-entries count in SKILL.md and README.md from 74 to 77 to match the current catalog/ directory.

Both schemas mirror the existing pattern (ripgrep.json, fd.json) and are aligned with the canonical entries in the coding_agent_cli_toolset inventory.

Test plan

  • jq empty catalog/tokei.json catalog/scc.json — both valid JSON
  • ls catalog/*.json | wc -l matches the new claimed count (77)
  • CI eval-validate workflow passes
  • make install-tokei / make install-scc resolves to a working install (manual verification post-merge)

Copilot AI review requested due to automatic review settings May 20, 2026 06:58
@github-actions

github-actions Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds new tool definitions for scc and tokei to the CLI tools catalog and updates the documentation to reflect the increased tool count. Feedback was provided to use the {arch} placeholder in the scc asset pattern to ensure cross-architecture compatibility and to remove the unnecessary rust runtime requirement for tokei to avoid redundant toolchain installations.

Comment thread catalog/scc.json Outdated
Comment thread catalog/tokei.json Outdated
Both tools were already recommended in references/preferred-tools.md
(as the fast replacement for cloc) and listed in SKILL.md's tool
selection table, but had no catalog entry — so the install/audit
workflow could not actually install them.

This closes that gap by adding:
- catalog/tokei.json (cargo + brew)
- catalog/scc.json (github_release_binary + go + brew)

Also bumps the cataloged-entries count in SKILL.md and README.md
from 74 to 77 to match the current catalog/ directory.

Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>
@CybotTM CybotTM force-pushed the feat/catalog-tokei-scc branch from 4e92811 to 965439e Compare May 20, 2026 07:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds missing catalog entries for the code-counting tools tokei and scc so the skill’s install/audit workflows can install them, and updates documented catalog counts accordingly.

Changes:

  • Add catalog/tokei.json with cargo and brew install options.
  • Add catalog/scc.json with github_release_binary (and additional listed methods).
  • Update SKILL.md and README.md counts from 74 → 77 to match the current catalog/ size.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
skills/cli-tools/SKILL.md Updates documented number of cataloged entries to 77.
README.md Updates documented supported-tool counts and directory-structure note to 77+.
catalog/tokei.json New catalog entry for tokei with cargo/brew methods.
catalog/scc.json New catalog entry for scc with GitHub-release binary download metadata and method list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread catalog/tokei.json Outdated
Comment thread catalog/tokei.json Outdated
Comment thread catalog/scc.json Outdated
Comment thread catalog/scc.json Outdated
- scc.json: use {arch} placeholder in asset_pattern so the arch_map is
  actually applied for non-x86_64 hosts (gemini-code-assist).
- scc.json: drop the "go" install method — the cli-tools-skill
  installer (scripts/lib/reconcile.sh) only supports apt, cargo, npm,
  gem, pip, pipx, brew, github_release_binary. The "go" entry caused
  "Unknown method: go" on stderr (Copilot).
- scc.json & tokei.json: brew config now uses `formula` to match the
  reconciler's schema (`jq -r '.formula'`); the prior `package` key was
  silently ignored (Copilot).
- tokei.json: drop `requires: ["rust"]` — `check_dependencies` runs
  `command -v` on each requires entry, and there is no `rust` binary
  (it would be `rustc`/`cargo`). tokei has no runtime dependency on
  Rust once installed (gemini-code-assist + Copilot).

Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>
@sonarqubecloud

Copy link
Copy Markdown

@CybotTM CybotTM merged commit e1b34f2 into main May 20, 2026
17 checks passed
@CybotTM CybotTM deleted the feat/catalog-tokei-scc branch May 20, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants