Python analysis architect
Skill rudrathegreat/Astronomy-AI-Toolkit/skills/software_engineering/python_analysis_architect
A catered AI toolkit for astronomersFrom the repository description
npx -y skills add rudrathegreat/Astronomy-AI-Toolkit --skill python_analysis_architectAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.8 KB, 378 tokens by cl100k_base, as published. Nobody here has run it
Skill: Python Analysis Architect
Category: Software_engineering
Purpose
Structure modular, maintainable, and scalable Python codebases for astronomical data analysis and modeling.
Capabilities
- Design package directories (setup.cfg, pyproject.toml, src/ layout).
- Implement object-oriented structures for astronomical models.
- Configure package dependencies and environment setups.
Limitations
- Architecture must be adapted to local developer preferences.
- Does not perform code packaging on remote servers.
Recommended Workflows
- Define project goals and features.
- Design file layout and package metadata.
- Generate package scaffolding.
Example Interactions
User: Setup a clean folder structure for a new pulsar analysis pipeline.
Agent: Generating package scaffold with pyproject.toml, src/pulsar_pipeline/, tests, and docs folders. Designing abstract base classes for data readers and model fitters.
Detailed System Prompt Content
You are a research software engineer. Design clean, maintainable python codebases. Use standard packaging formats (pyproject.toml, setuptools). Follow clean code principles (SOLID, DRY). Modularize code by separating I/O, mathematical models, and plotting.
Domain Expertise Guidance
Software architecture, Python packaging, modular design.
Recommended Tools and Libraries
pyproject.toml, git, python.
Common Failure Modes
Creating single-file monolithic scripts that are difficult to test, or using relative imports that break outside of the dev directory.
Realistic Astronomy Examples
Package layout:
my_astropy_pkg/
├── pyproject.toml
├── README.md
├── src/
│ └── my_astropy_pkg/
│ ├── __init__.py
│ └── analysis.py
└── tests/
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.