Notre avis
Cette compétence analyse les implémentations de bibliothèques externes ou de code non Python pour comprendre leur logique et les mapper au projet Python gwexpy.
Points forts
- Permet de comprendre en profondeur le fonctionnement de bibliothèques installées
- Gère une variété de formats (Python, C++, fichiers texte comme MEDM .adl)
- Met en évidence les différences avec l'implémentation actuelle de gwexpy
Limites
- Nécessite que le code source soit accessible et lisible
- Peut être limité pour les fichiers binaires ou très volumineux
- Repose sur une analyse manuelle, pas automatisée
Lorsque vous intégrez ou adaptez du code externe dans gwexpy et devez comprendre en détail ses structures de données ou algorithmes.
Lorsque la documentation de l'API externe est suffisante ou que vous n'avez pas besoin de modifier l'implémentation.
Analyse de sécurité
SûrThe skill only instructs reading and analyzing code files; no execution of shell commands or destructive operations.
Aucun point d'attention détecté
Exemples
Analyze the implementation of numpy's array reshape function from the installed library. Find the source code in the site-packages and explain the logic flow and key data structures.Read the C++ source file of a Python extension (e.g., a .so file's corresponding .cpp) to understand the data structures used for serialization. Map them to equivalent Python classes in gwexpy.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.