Notre avis
Cette compétence permet d'analyser le code source de bibliothèques externes ou de codes écrits dans d'autres langages pour comprendre leur fonctionnement et leur intégration.
Points forts
- Localise automatiquement les fichiers source des dépendances installées.
- Lit et interprète du code non-Python (C++, fichiers texte spécialisés).
- Identifie les différences entre l'implémentation externe et l'implémentation actuelle dans le projet.
Limites
- Ne gère pas les fichiers binaires ou formats inconnus sans parseur.
- Peut être lent sur de grandes bases de code externes.
- N'explique pas toujours les détails fins d'interface.
Utilisez cette compétence lorsque vous devez comprendre comment une fonctionnalité est implémentée dans une dépendance ou un code non-Python pour l'adapter ou le porter.
Évitez cette compétence si la documentation officielle est suffisante ou si le code est trivial.
Analyse de sécurité
SûrThis skill only instructs reading and analyzing existing files using 'view_file', with no execution, network access, or destructive actions. There is no risk of data exfiltration or system harm.
Aucun point d'attention détecté
Exemples
Find and analyze the implementation of the `compute_metrics` function in the `scikit-learn` library installed in the virtual environment. Explain its data structures and algorithm.Read the C++ file at `src/engine/processor.cpp` and explain how the `process` method works. Map its logic to Python code in our project.View the MEDM `.adl` file at `panels/screen.adl` and analyze its structure to determine how it defines graphical elements.name: analyze_code description: 外部ライブラリや他言語で書かれたコードの実装を分析する
Analyze External Code
This skill helps in understanding code outside of the main Python source tree.
Instructions
-
Locate Source:
- If analyzing an installed library: Find where it is installed (usually
.venv/lib/pythonX.X/site-packages/). - If analyzing non-Python code (e.g. C++, MEDM files): Find the files in the file tree.
- If analyzing an installed library: Find where it is installed (usually
-
Read and Analyze:
- Use
view_fileto read the implementation. - For binary files or unknown formats, try to find a parser or read as text if applicable (e.g. MEDM
.adlfiles are text). - Map the external logic to how it interacts with or should be implemented in
gwexpy.
- Use
-
Report:
- Explain the data structures, algorithms, or logic flow found.
- Highlight differences with the current
gwexpyimplementation.
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.