sync-deps — community sync-deps, rss_feed, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0

このスキルについて

Python開発エージェントが自動化された依存関係管理と同期を必要とする場合に最適です。 Synchronises all dependency files from the actual imports in the codebase. Use when asked to update requirements.txt, sync dependencies, update pyproject.toml dependencies, fix requirements, update deps, sync deps, update dependency files, or update renv/environment.yml. Scans all Python source files for third-party imports, resolves PyPI package names, fetches installed versions, then writes requirements.txt and updates pyproject.toml [project.dependencies] — keeping every dep file in sync with a single source of truth.

laceto laceto
[1]
[0]
Updated: 3/11/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
7/11
Quality Score
48
Canonical Locale
en
Detected Body Locale
en

Python開発エージェントが自動化された依存関係管理と同期を必要とする場合に最適です。 Synchronises all dependency files from the actual imports in the codebase. Use when asked to update requirements.txt, sync dependencies, update pyproject.toml dependencies, fix requirements, update deps, sync deps, update dependency files, or update renv/environment.yml. Scans all Python source files for third-party imports, resolves PyPI package names, fetches installed versions, then writes requirements.txt and updates pyproject.toml [project.dependencies] — keeping every dep file in sync with a single source of truth.

このスキルを使用する理由

エージェントがソースファイル内の実際のインポートからプロジェクトの依存関係リストを導出する機能を提供し、手動での記録とrequirements.txtとpyproject.tomlの間の漂移を排除し、依存関係スキャンやrequirements.txtとpyproject.tomlなどのファイル形式などのプロトコルを利用します。

おすすめ

Python開発エージェントが自動化された依存関係管理と同期を必要とする場合に最適です。

実現可能なユースケース for sync-deps

パッケージの追加または削除後に依存関係を自動更新する
requirements.txtとpyproject.tomlの間の依存関係の漂移をデバッグする
リリース前に依存関係ファイルを同期する

! セキュリティと制限

  • ソースファイルと依存関係ファイルへのアクセスが必要
  • Pythonプロジェクトのみ
  • ソースファイル内の実際のインポートをスキャンする必要がある

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is sync-deps?

Python開発エージェントが自動化された依存関係管理と同期を必要とする場合に最適です。 Synchronises all dependency files from the actual imports in the codebase. Use when asked to update requirements.txt, sync dependencies, update pyproject.toml dependencies, fix requirements, update deps, sync deps, update dependency files, or update renv/environment.yml. Scans all Python source files for third-party imports, resolves PyPI package names, fetches installed versions, then writes requirements.txt and updates pyproject.toml [project.dependencies] — keeping every dep file in sync with a single source of truth.

How do I install sync-deps?

Run the command: npx killer-skills add laceto/rss_feed/sync-deps. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for sync-deps?

Key use cases include: パッケージの追加または削除後に依存関係を自動更新する, requirements.txtとpyproject.tomlの間の依存関係の漂移をデバッグする, リリース前に依存関係ファイルを同期する.

Which IDEs are compatible with sync-deps?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for sync-deps?

ソースファイルと依存関係ファイルへのアクセスが必要. Pythonプロジェクトのみ. ソースファイル内の実際のインポートをスキャンする必要がある.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add laceto/rss_feed/sync-deps. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use sync-deps immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

sync-deps

Install sync-deps, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

Sync Dependencies

Derives the project's dependency list from actual imports in source files — one scan, one canonical list, propagated to every dep file. No manual bookkeeping; no drift between requirements.txt and pyproject.toml.

When to Use This Skill

  • User says "update requirements.txt", "sync deps", "fix requirements", "update deps"
  • User says "update pyproject.toml dependencies", "sync dependency files"
  • After adding or removing a package to the project
  • Before a release or a code review

Single Source of Truth

source files (.py, .ipynb)
        │
        ▼
  sync_deps.py   ← ONE scan, ONE canonical list
        │
        ├──▶ requirements.txt
        ├──▶ pyproject.toml  [project.dependencies]
        ├──▶ environment.yml  (if present)
        └──▶ setup.cfg        (if present)

Everything is derived; never edit dep files by hand.


Step 1 — Run the scanner

Run the bundled script from the repo root (not from inside the skill folder):

bash
1python .claude/skills/sync-deps/scripts/sync_deps.py

The script outputs one package>=X.Y line per third-party dependency, sorted alphabetically, to stdout. Capture it:

bash
1python .claude/skills/sync-deps/scripts/sync_deps.py > /tmp/deps_raw.txt

Inspect the output before writing anything. If a package is missing or wrong, update IMPORT_TO_PACKAGE in the script — that is the only place to change.


Step 2 — Write requirements.txt

Replace the full content of requirements.txt at the repo root with:

# Runtime dependencies — generated by sync-deps, do not edit by hand.
# Regenerate with: python .claude/skills/sync-deps/scripts/sync_deps.py
#
<one line per package from stdout, sorted>

Rules:

  • Keep the header comment exactly as shown.
  • Packages are sorted case-insensitively.
  • Dev-only packages (pytest, mypy, ruff, pytest-cov) must not appear here — they belong in pyproject.toml [project.optional-dependencies].dev only.

Step 3 — Update pyproject.toml [project.dependencies]

Read pyproject.toml. Replace the dependencies = [...] list under [project] with the same package list from Step 1, formatted as TOML strings:

toml
1dependencies = [ 2 "package-a>=X.Y", 3 "package-b>=X.Y", 4]

Rules:

  • Preserve all other sections unchanged (surgical edit only).
  • Dev packages stay in [project.optional-dependencies].dev — do not move them.
  • If [project.optional-dependencies].dev is missing, add it with at minimum: ["pytest>=8", "pytest-cov", "mypy", "ruff"].

Step 4 — Update optional dep files (if present)

Scan the repo root for these files and update them if found:

environment.yml (conda)

Update the dependencies: list. Preserve - pip: sub-list structure. Example shape:

yaml
1dependencies: 2 - python>=3.9 3 - pip: 4 - package-a>=X.Y 5 - package-b>=X.Y

setup.cfg

If install_requires exists under [options], replace it with the new list:

ini
1[options] 2install_requires = 3 package-a>=X.Y 4 package-b>=X.Y

Pipfile

If present, update the [packages] section. Do not modify [dev-packages].


Step 5 — Verify and report

After all edits, print a summary:

sync-deps complete
─────────────────────────────────────────
Source files scanned : <N> .py files, <M> .ipynb files
Third-party imports  : <K>
─────────────────────────────────────────
Updated:
  requirements.txt          — <N> packages
  pyproject.toml            — [project.dependencies] (<N> entries)
  environment.yml           — (skipped — not found)
  setup.cfg                 — (skipped — not found)
─────────────────────────────────────────
Packages:
  <sorted package list, one per line>

Import-to-Package Name Map

The script maintains IMPORT_TO_PACKAGE — a dict mapping Python import names to their canonical PyPI package names. This is the only place to fix name mismatches. Never hardcode a mapping elsewhere.

Import namePyPI package
sklearnscikit-learn
PILPillow
cv2opencv-python
yamlPyYAML
bs4beautifulsoup4
dotenvpython-dotenv
faissfaiss-cpu
rank_bm25rank-bm25
langchain_classiclangchain-classic
langchain_corelangchain-core
langchain_communitylangchain-community
langchain_openailangchain-openai

To add a new mapping: edit IMPORT_TO_PACKAGE in scripts/sync_deps.py.


Exclusion Rules

These are never added to requirements.txt:

  • Standard library modules (os, sys, json, …)
  • The project's own package (auto-detected from pyproject.toml [project].name)
  • Dev-only packages: pytest, pytest-cov, mypy, ruff, black, isort
  • Private names (starting with _)
  • Modules in excluded directories: venv/, .venv/, build/, dist/, .eggs/

Troubleshooting

ProblemCauseFix
Package missing from outputImport name not in IMPORT_TO_PACKAGE and not installedAdd mapping to IMPORT_TO_PACKAGE or install the package
Wrong version shownPackage not installed in active venvActivate the correct venv before running
sys.stdlib_module_names not availablePython < 3.10Script falls back to a static stdlib set; update Python if possible
Package appears but shouldn'tImport from a test fixture or example that shadows a real nameAdd it to DEV_ONLY_PACKAGES in the script
pyproject.toml parse errorNon-standard TOML formattingRead the file carefully and apply a surgical edit

関連スキル

Looking for an alternative to sync-deps or another community skill for your workflow? Explore these related open-source skills.

すべて表示

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

カスタマイズ可能なウィジェットプラグインをprompts.chatのフィードシステム用に生成する

149.6k
0
AI

flags

Logo of vercel
vercel

React フレームワーク

138.4k
0
ブラウザ

pr-review

Logo of pytorch
pytorch

Pythonにおけるテンソルと動的ニューラルネットワーク(強力なGPUアクセラレーション)

98.6k
0
開発者