dev-workflow

star 0

Use when the user asks to "set up a project", "validate structure", "init repository", mentions "Gitflow", "uv init", or discusses AI/ML development standards and reproducibility.

ernestoelo By ernestoelo schedule Updated 5/28/2026

name: dev-workflow description: Use when the user asks to "set up a project", "validate structure", "init repository", mentions "Gitflow", "uv init", or discusses AI/ML development standards and reproducibility.

Development Workflow Skill

This skill provides canonical standards, validation scripts, and best practices for AI/ML project development. It ensures reproducibility, code quality, and team alignment, following the anthropic skill structure and progressive disclosure principles.

Core Principles

  • Reproducibility: All environments and dependencies are pinned and documented.
  • Modularity: Projects follow a clear, modular structure for code, data, and models.
  • Validation: Automated scripts check for required files, structure, and compliance.
  • Progressive Disclosure: Only essential context is loaded; detailed guides live in references/.

Anatomy

Every project should have:

project-root/
├── src/           # Core code
├── data/          # Data files (with .gitkeep)
├── models/        # Model files (with .gitkeep)
├── notebooks/     # Jupyter or other notebooks
├── pyproject.toml # Project metadata
├── uv.lock        # Dependency lockfile
├── README.md      # Project overview
├── Makefile, run.sh, .gitignore

Usage Guide

  1. Project Setup: Initialize with uv init --lib <project-name>, pin Python with uv python pin 3.12, and add dependencies using uv add.
  2. Structure: Organize code, data, and models as above. Use .gitignore to exclude .venv/, data/*, models/*, and conf.env.
  3. Git Workflow: Use Gitflow (see references/git-workflow.md):
    • Branch from develop for features: git checkout -b feat/your-feature
    • Use Conventional Commits for messages: feat(scope): subject
    • Merge to develop via PR, then to main for releases
  4. Validation: Run scripts/validate_project.sh to check structure and required files.
  5. Self-Validation: Complete the checklist in references/checklist.md before handover or deployment.
  6. Sprint objective closure (OncoMets-specific): before merging a sprint objective branch to main, run section 13 of references/checklist.md. Key item: git add results/<objetivo>/ to version per-slide predictions (*_results.pkl), summary.csv, config snapshots — the .gitignore already excludes heavy .pt/.pth/.h5/checkpoints. The merge criterion is repo autoconsistency, not whether external deliverables (OnlyOffice deck, paper) are ready.

Bundled Resources

  • scripts/validate_project.sh: Checks for required files and structure.
  • assets/gitflow.png, structure.png: Visual guides for workflow and structure.
  • references/: Detailed guides for AI development, Gitflow, and validation.

Best Practices

  • Work on feature branches; never commit directly to main.
  • Use uv for dependency management; always pin Python versions.
  • Validate structure and checklist before every release.
  • Prefer clarity and reproducibility over cleverness.
  • After uv init and the initial structure validation, if the project will involve ≥3 distinct features and warrants multi-agent orchestration, hand off to @harness to scaffold leader/implementer/reviewer subagents, feature_list.json, progress/ and per-project hooks. @harness complements (does not replace) this skill.

Code Language and Comments

All code, comments, and GitHub workflow actions must be in English:

  • Variable names, function names, and code comments in English
  • Commit messages, branch names, PR titles/descriptions in English
  • Avoid non-English words except where required by external APIs or data
  • Comments should explain intent and logic, not restate code

References

Validation

  • Integrate with @architect for skill/project scaffolding.
  • Use pre-commit hooks for structure and code validation.
  • Check environment and dependencies with @sys-env before running scripts.
Install via CLI
npx skills add https://github.com/ernestoelo/oncomets-ernesto --skill dev-workflow
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator