スキル一覧に戻る
WilletJiang

repo-facts

by WilletJiang

0🍴 0📅 2025年12月23日
GitHubで見るManusで実行

SKILL.md


name: repo_facts description: Summarize an arbitrary code repo (git or non-git) into a small, high-signal facts packet: languages, build/test tooling clues, notable paths, and size stats.

repo_facts

Purpose

Produce a compact "facts packet" about the repository so the agent does not waste tokens repeatedly re-discovering:

  • What languages dominate
  • What build / test systems appear to be used
  • Where source code and generated artifacts likely live
  • Whether it's a git repo (and basic git state if available)

This skill is intentionally small: it avoids long README ingestion and avoids speculative instructions.

How to use

Run the script from the repo root (or pass a path):

repo_facts .
repo_facts . --no-tree
repo_facts /path/to/repo --json

# (fallback if wrappers are not on PATH)
CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
python3 "$CODEX_HOME/skills/repo_facts/scripts/repo_facts.py" /path/to/repo --tree

Output contract (high level)

  • Default: Markdown summary (human-scannable) + "Next look" file pointers.
  • --json: machine-readable JSON for programmatic consumption.

Notes

  • Works without git. If the directory is a git worktree, it prefers git ls-files for fast/accurate enumeration.
  • Skips common heavy dirs by default (e.g., .git/, node_modules/, target/, build/, .venv/).

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です