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

sourcesage-cli

Generate AI-friendly repository documentation with the SourceSage CLI. Use when Codex needs to run `sage` or `sourcesage` to create `.SourceSageAssets/Repository_summary.md`, analyze the current repository or another local repository, switch the output language between English and Japanese, use `--lite` to keep the summary small, change the output directory, or optionally create a deprecated tag-diff release report with `--diff`.

インストール方法を見る

含まれるファイル(15)

  • SKILL.md3.9 KB
  • .gitignore3.4 KB
  • .SourceSageignore2.1 KB
  • AGENTS.md2.4 KB
  • CHANGELOG.md663 B
  • CLAUDE.md3.8 KB
  • CODE_OF_CONDUCT.md788 B
  • CONTRIBUTING.md1.0 KB
  • LICENSE1.0 KB
  • pyproject.toml1.8 KB
  • README.ja.md4.1 KB
  • README.md3.8 KB
  • requirements.txt35 B
  • SECURITY.md566 B
  • test_results.txt1.8 KB

SKILL.md(原文)

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

SourceSage CLI

Overview

Use the SourceSage CLI from this repository checkout to generate repository summaries for the current repo or another local repo.

Prefer the local checkout over assuming sourcesage is globally installed. In this repository layout, the SourceSage tool root is the directory that contains this SKILL.md.

Workflow

  1. Resolve the SourceSage tool root and the target repository.

    • If the user did not specify another repo, analyze the current workspace.
    • If the current workspace is not the SourceSage repo, run SourceSage from its own checkout with uv run --directory <sourcesage-root> sage ....
  2. Pick the smallest command that satisfies the request.

    • Current repo summary: uv run sage
    • Current repo summary in lite mode: uv run sage --lite
    • Current repo summary in Japanese: uv run sage -l ja
    • Another repo with default output inside that repo: uv run --directory <sourcesage-root> sage --repo "<target-repo>"
    • Another repo in lite mode: uv run --directory <sourcesage-root> sage --repo "<target-repo>" --lite
    • Another repo with explicit output directory: uv run --directory <sourcesage-root> sage --repo "<target-repo>" -o "<output-dir>"
    • Deprecated diff report: uv run --directory <sourcesage-root> sage --repo "<target-repo>" --diff
  3. Verify the generated artifacts after every run.

    • Repository summary: <output-dir>/.SourceSageAssets/Repository_summary.md
    • Deprecated diff report: <output-dir>/.SourceSageAssets/RELEASE_REPORT/Report_<latest-tag>.md
    • Open the generated markdown and summarize the important results instead of only reporting that the command ran.
    • In --lite mode, confirm the summary keeps the tree, Git info, statistics, and root README files while omitting the ## File Contents section.
  4. Report side effects and command mismatches.

    • Expect SourceSage to create <repo>/.SourceSageignore if it does not exist.
    • Treat --ignore-file as the supported ignore override.
    • Do not rely on --use-ignore unless the CLI is updated and re-verified, because the current CLI does not expose that flag.

Command Notes

  • Prefer uv run sage inside the SourceSage repo because pyproject.toml defines both sage and sourcesage entry points.
  • Prefer uv run --directory <sourcesage-root> sage ... outside the SourceSage repo so the command uses this checkout without requiring a global install.
  • Fall back to sourcesage or sage directly only when the package is already installed and uv is unavailable.
  • Use -l ja or -l en for output language.
  • Use --lite for first-pass exploration when ignore rules are not tuned yet or when full file excerpts would make the summary too large.
  • Use -o when the user wants artifacts outside the repo root.
  • Use --repo to analyze another repository from this checkout.

Validation

  • Run the chosen command instead of only describing it.
  • Confirm that the expected markdown file exists.
  • Read the generated output and report the path plus a short summary of what was produced.
  • Re-run the exact command after changing any execution instructions or docs that mention it.

Avoid

  • Do not assume README examples are authoritative when they differ from sourcesage/cli.py.
  • Do not overwrite existing artifacts silently when the user asked for a specific destination and it already contains results.
  • Do not describe SourceSage usage from memory when you can inspect pyproject.toml and sourcesage/cli.py in this repo.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

Use this skill whenever the user wants to create or improve a presentation for an academic context — conference papers, seminar talks, thesis defenses, grant briefings, lab meetings, invited lectures, or any presentation where the audience will evaluate reasoning and evidence. Triggers include: 'conference talk', 'seminar slides', 'thesis defense', 'research presentation', 'academic deck', 'academic presentation'. Also triggers when the user asks to 'make slides' in combination with academic content (e.g., 'make slides for my paper on X', 'create a presentation for my dissertation defense', 'build a deck for my grant proposal'). This skill governs CONTENT and STRUCTURE decisions. For the technical work of creating or editing the .pptx file itself, also read the pptx SKILL.md.

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

skillmds/skillmd712026年10月9日 更新

adp

無料

Redpanda's Agentic Data Plane: governance infrastructure for building, running, and governing AI agents and MCP servers, plus a proxying AI Gateway for LLM providers, operated via `rpk ai` and the ADP API. Use when creating or managing AI agents (managed or self-managed) via `rpk ai agent` or `AgentRegistryService`; configuring MCP servers (remote or managed catalog, code mode, auth); setting up LLM providers or querying models via `rpk ai llm`/`rpk ai model` or the AI Gateway proxy; or configuring budgets, guardrails, or Cedar access-control policies through the governance APIs. Also covers reading agent transcripts and spending insights, and wiring OAuth clients or providers to the aigw Authorization Server. For the separate rpk cloud mcp control-plane MCP server, see `/redpanda:rpk-cloud`.

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

skillmds/skillmd712026年10月9日 更新

ads

無料

Operate professional paid advertising across Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, Apple, Amazon, Reddit, Pinterest, Snapchat, and X. Use for account intake, source-grounded audits, strategy, budget and measurement planning, creative production, experiments, reporting, monitoring, and explicitly approved campaign changes. Also trigger on PPC, paid social, retail media, attribution, tracking, landing pages, cross-platform conversion totals, negative keywords or search terms, beta-feature scoring, stale platform claims, API-token or credential setup, campaign deletion, and safe Claude Ads installation or uninstall.

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

skillmds/skillmd712026年10月9日 更新

ads-apple

無料

Audit Apple Ads measurement, AdServices and AdAttributionKit, campaign and keyword structure, Search Match, App Store placements, custom product pages, bidding, budgets, MMP reconciliation, and policy. Use for Apple Ads, Apple Search Ads, App Store ads, Search Match, custom product pages, AdServices, or Apple app-install campaigns.

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

skillmds/skillmd712026年10月9日 更新

Research competitor paid-ad presence, messaging, creative, formats, landing pages, keyword and auction signals, transparent ad libraries, and strategic gaps across supported platforms. Use for competitor ads, ad libraries, ad spy, competitive PPC analysis, competitor creative, Google Ads Transparency, Meta Ad Library, or paid-media competitor research.

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

skillmds/skillmd712026年10月9日 更新

ads-dna

無料

Extract a public-safe brand and offer profile for paid advertising from an authorized website and operator input. Triggers on: brand DNA, brand profile, brand identity, brand style, brand colors, brand voice, visual identity, style guide, website brand analysis.

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

skillmds/skillmd712026年10月9日 更新

skillmds のスキルをすべて見る

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