{"id":49486091,"url":"https://github.com/glav/template-python","last_synced_at":"2026-05-01T01:30:53.675Z","repository":{"id":332672286,"uuid":"1134566413","full_name":"glav/template-python","owner":"glav","description":"Python template repo with devcontainer setup and AI Assistance setup","archived":false,"fork":false,"pushed_at":"2026-02-18T23:00:21.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-19T04:49:40.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/glav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-14T22:25:07.000Z","updated_at":"2026-02-18T23:00:22.000Z","dependencies_parsed_at":"2026-02-19T01:02:33.913Z","dependency_job_id":null,"html_url":"https://github.com/glav/template-python","commit_stats":null,"previous_names":["glav/template-python"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/glav/template-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glav%2Ftemplate-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glav%2Ftemplate-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glav%2Ftemplate-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glav%2Ftemplate-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glav","download_url":"https://codeload.github.com/glav/template-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glav%2Ftemplate-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32482460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-01T01:30:51.752Z","updated_at":"2026-05-01T01:30:53.668Z","avatar_url":"https://github.com/glav.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template - Python\n\nThis repository is a small, intentionally minimal Python template you can use as the starting point for new repos.\n\nIt’s designed to be a quick workflow to get started while keeping the day-0 developer experience solid (devcontainer support, modern dependency management, and a place for agent instructions).\n\n## What this template includes\n\n- Python 3.12 devcontainer setup\n- `uv` for dependency management (`pyproject.toml` + `uv.lock`)\n- A tiny runnable entrypoint (`src/app.py`) that loads environment variables from `.env` via `python-dotenv`\n- `AGENTS.md` for coding-agent guidance\n\n## Using this repo as a template\n\nTypical workflow:\n\n1. Create a new repository from this template (GitHub: “Use this template”).\n2. Update project metadata in `pyproject.toml` (name/description).\n3. Replace the sample app code under `src/` with your real project.\n4. Update `AGENTS.md` and this README to reflect the new repo’s purpose.\n\n## Setup\n\nThis repo uses `uv`.\n\n```bash\ncurl -LsSf https://astral.sh/uv/install.sh | sh\nuv sync\n```\n\n## Run\n\n```bash\nuv run python src/app.py\n```\n\n## Linting and formatting\n\nThis template includes `ruff`.\n\n```bash\nuv sync --group dev\nuv run ruff check .\nuv run ruff format .\n```\n\n## Environment variables\n\n- Copy `.env-sample` to `.env` and fill in values as needed.\n- `.env` is gitignored.\n\n```bash\ncp .env-sample .env\n```\n\n## Copilot / AI Assisted workflow\n\nThis template includes an `.agent/` directory containing reusable prompt “commands” and standards you can use with GitHub Copilot (and other coding agents).\n\n- `.agent/commands/`: ready-to-run prompts for common tasks, for example:\n\t- `setup/`: repo bootstrap tasks (e.g. creating `AGENTS.md`)\n\t- `project/`: planning prompts (e.g. sprint planning)\n\t- `docs/`: documentation prompts (e.g. creating ADRs)\n- `.agent/standards/`: templates and standards for consistent artifacts (ADRs, feature specs, task plans)\n- `.agent/instructions/`: “apply-to” instructions that guide how agents write certain file types (e.g. Bash and Bicep)\n\nIf you base a new repository on this template, treat `.agent/` as a starting library: keep what helps your team, remove what doesn’t, and add org-specific workflows over time.\n\n## Copilot CLI (devcontainer)\n\nThe devcontainer includes GitHub Copilot CLI via the official devcontainer feature (`ghcr.io/devcontainers/features/copilot-cli:latest`).\n\n## Spec-Driven Development (SDD) Workflow\n\nThis template includes an enhanced **Spec-Driven Development (SDD)** workflow in `.agent/commands/sdd/`. The SDD workflow provides a structured, 9-step process for developing features with built-in quality gates and testing integration.\n\n### SDD Workflow Steps\n\n| Step | Prompt File | Purpose |\n|------|-------------|---------|\n| 0 | `sdd.0-initialize.prompt.md` | Initialize environment and verify prerequisites |\n| 1 | `sdd.1-create-feature-spec.prompt.md` | Create feature specification via guided Q\u0026A |\n| 2 | `sdd.2-review-spec.prompt.md` | Review spec for completeness (quality gate) |\n| 3 | `sdd.3-research-feature.prompt.md` | Research implementation approach |\n| 4 | `sdd.4-determine-test-strategy.prompt.md` | Determine TDD vs Code-First approach |\n| 5 | `sdd.5-task-planner-for-feature.prompt.md` | Create implementation plan with test phases |\n| 6 | `sdd.6-review-plan.prompt.md` | Review plan for readiness (quality gate) |\n| 7 | `sdd.7-task-implementer-for-feature.prompt.md` | Execute implementation systematically |\n| 8 | `sdd.8-post-implementation-review.prompt.md` | Final validation before completion |\n\n### How to Use\n\n1. **Initialize**: Run `sdd.0-initialize.prompt.md` to set up the environment\n2. **Start a feature**: Run `sdd.1-create-feature-spec.prompt.md` with your feature idea\n3. **Follow handoffs**: Each step tells you which step to run next\n4. **Don't skip review gates**: Steps 2, 4, 6, and 8 catch issues early\n\n### Key Features\n\n- **Quality gates** at review steps with explicit PASS/FAIL validation\n- **Deterministic test strategy** using a scoring-based decision matrix\n- **Integrated testing** with mandatory test phases in implementation plans\n- **State management** for session continuity across steps\n- **Artifact tracking** in `.agent-tracking/` directory\n\nFor full documentation, see `.agent/commands/sdd/README.md`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglav%2Ftemplate-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglav%2Ftemplate-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglav%2Ftemplate-python/lists"}