Properize
Turn "I hacked this together for myself, it's AI slop, but I want it proper
now" into a repo that meets lgtm-hq standards. This skill sequences other
skills into one pipeline — it composes commit, design grilling, issue,
and implement-issues/pr, it does not replace them. Never skip a stage or
collapse two stages into one session; each stage produces an artifact
(commits, a design decision, an issue tree) the next stage depends on.
The mistake this skill prevents
The default failure mode is jumping straight from "make this proper" to
writing a full implementation plan and executing it in one pass — no
commit checkpoint, no design interrogation, no issue trail. That produces an
unreviewable mega-diff and bakes in whatever the prototype already got wrong.
Do NOT do this. Do: commit → grill → recon → spec → implement, one stage at a
time, stopping between stages for the artifacts to exist and be reviewable.
Pipeline
1. Commit the WIP first
Before any design discussion, get the current state to a lint-clean,
committed baseline:
- Drive
uv run lintro chk to 0 issues. Fix real bugs the gate surfaces
(missing imports, undefined names, missing arguments, type errors,
dead-code/unused-variable warnings) rather than suppressing them — a lint
gate on a prototype routinely finds actual bugs, not just style nits.
- Land signed, semantic commits grouped by domain, not one giant commit.
For example: a
cleanup pass, then commits per feature area (e.g.
discover, playlists), then app-infra, then a trailing chore for
anything left over. Follow the commit skill for message format and
signing.
- Do not refactor or redesign here — only make the WIP lint-clean and
historied. Design changes belong in the next stage.
2. Grill the design
Stress-test the full design before writing any spec. Prefer the external
grilling skill when it is installed (e.g. mattpocock/grilling via the
vendor catalog); otherwise run the same interview inline. One question at a
time, waiting for an answer before the next — do not batch questions.
Recommend an answer with each question. Cover at least:
- Audience and multi-tenancy (single-user tool vs. shared service?)
- Data storage (what DB, migrations, backups?)
- Auth (who can access it, how?)
- Background jobs / scheduling
- Configuration and secrets management
- Deployment target and process
- Documentation expectations (README, ADRs?)
- Scope freeze — what's explicitly out of scope for v1
- Observability (logging, metrics, error tracking)
- Testing strategy and coverage bar
- Issue granularity for the next stage (how small is "one PR"?)
Do not proceed to standards recon until these questions have answers. If the
user defers a question, record the deferral explicitly rather than assuming
a default.
3. Standards recon (before writing issues)
Run this recon after grilling and before stage 4 so branch rulesets and CI
requirements shape the backlog. Treat it as a checklist of repeatable
commands, not a judgment call:
- Fetch
winnow workflows as the gold-standard CI reference (full workflow
set).
- Fetch
lgtm-ci reusable workflows pinned to a release SHA (plus the
tooling-ref pin), not a floating tag.
- Fetch the org's rulesets for the target repo (
checks-<repo>) via
gh api repos/<owner>/<repo>/rulesets (or the org-level ruleset endpoint)
so branch-protection requirements are known before issues are written.
- Bring in the standard community-files set:
.editorconfig, SECURITY.md,
Renovate config, gitleaks config, and equivalents already used across
lgtm-hq repos.
- Make
lintro the sole lint/format entry point — no bare ruff/eslint/
etc. invocations left in scripts or CI.
- Wire releases through the version-PR + auto-tag flow used elsewhere in
lgtm-hq, not manual tagging.
Do not create milestones, epics, or issues until this recon is complete.
4. Spec the backlog as milestones, epics, and issues
Turn the grilled design into a milestone → epic → issue tree:
- Milestones group epics by release/phase.
- Epics group issues by feature area.
- Issues are one-PR-sized. Every code issue gets an AI Implementation
Prompt comment in the
issue skill's format (see skills/issue/SKILL.md),
so any issue is fan-out-ready for implement-issues without rework.
- Generalize the issue-generation script pattern (Python +
gh calls
creating milestones, epics, and issues from a structured spec) into a
repo-agnostic template rather than a one-off script tied to this repo's
domain. Keep the domain content (titles, bodies, prompts) separate from the
generation mechanics so the template is reusable on the next prototype.
5. Implement, issue by issue
Only after the tree exists: implement issues one at a time, small PRs, per
the pr skill (or hand the whole ready backlog to implement-issues for
parallel, worktree-isolated lanes). Never batch unrelated issues into one PR
to save time — the point of stage 4 was to make each unit reviewable on its
own.
Guardrails
- Stage order is not negotiable. Do not run standards recon before the
design has been grilled, do not spec issues before recon is done, and do
not implement before the issue tree exists.
- Stop between stages. Each stage's artifact (commit history, recorded
design decisions, recon notes, the issue tree) should be reviewable before
the next stage starts — do not silently chain all five stages into one
unattended run.
- A stage that cannot stay green (lint, tests, or an unanswered blocking
design question) stops and reports rather than pushing through.
- This skill never merges — implementation PRs follow the normal review and
merge process for the target repo.
1---2name: properize3description: Promote a quick-and-dirty prototype to an lgtm-hq-standard repo - commit WIP lint-clean, grill the design, spec the backlog as milestone/epic/issue tree, then implement issue by issue. Use when asked to properize, productionize, or turn a prototype into a proper project.4---56# Properize78Turn "I hacked this together for myself, it's AI slop, but I want it proper9now" into a repo that meets lgtm-hq standards. This skill **sequences** other10skills into one pipeline — it composes `commit`, design grilling, `issue`,11and `implement-issues`/`pr`, it does not replace them. Never skip a stage or12collapse two stages into one session; each stage produces an artifact13(commits, a design decision, an issue tree) the next stage depends on.1415## The mistake this skill prevents1617The default failure mode is jumping straight from "make this proper" to18writing a full implementation plan and executing it in one pass — no19commit checkpoint, no design interrogation, no issue trail. That produces an20unreviewable mega-diff and bakes in whatever the prototype already got wrong.21Do NOT do this. Do: commit → grill → recon → spec → implement, one stage at a22time, stopping between stages for the artifacts to exist and be reviewable.2324## Pipeline2526### 1. Commit the WIP first2728Before any design discussion, get the current state to a lint-clean,29committed baseline:3031- Drive `uv run lintro chk` to 0 issues. Fix real bugs the gate surfaces32 (missing imports, undefined names, missing arguments, type errors,33 dead-code/unused-variable warnings) rather than suppressing them — a lint34 gate on a prototype routinely finds actual bugs, not just style nits.35- Land signed, semantic commits **grouped by domain**, not one giant commit.36 For example: a `cleanup` pass, then commits per feature area (e.g.37 `discover`, `playlists`), then `app-infra`, then a trailing `chore` for38 anything left over. Follow the `commit` skill for message format and39 signing.40- Do not refactor or redesign here — only make the WIP lint-clean and41 historied. Design changes belong in the next stage.4243### 2. Grill the design4445Stress-test the **full** design before writing any spec. Prefer the external46`grilling` skill when it is installed (e.g. mattpocock/grilling via the47vendor catalog); otherwise run the same interview inline. One question at a48time, waiting for an answer before the next — do not batch questions.49Recommend an answer with each question. Cover at least:5051- Audience and multi-tenancy (single-user tool vs. shared service?)52- Data storage (what DB, migrations, backups?)53- Auth (who can access it, how?)54- Background jobs / scheduling55- Configuration and secrets management56- Deployment target and process57- Documentation expectations (README, ADRs?)58- Scope freeze — what's explicitly out of scope for v159- Observability (logging, metrics, error tracking)60- Testing strategy and coverage bar61- Issue granularity for the next stage (how small is "one PR"?)6263Do not proceed to standards recon until these questions have answers. If the64user defers a question, record the deferral explicitly rather than assuming65a default.6667### 3. Standards recon (before writing issues)6869Run this recon **after grilling and before stage 4** so branch rulesets and CI70requirements shape the backlog. Treat it as a checklist of repeatable71commands, not a judgment call:7273- Fetch `winnow` workflows as the gold-standard CI reference (full workflow74 set).75- Fetch `lgtm-ci` reusable workflows pinned to a release SHA (plus the76 tooling-ref pin), not a floating tag.77- Fetch the org's rulesets for the target repo (`checks-<repo>`) via78 `gh api repos/<owner>/<repo>/rulesets` (or the org-level ruleset endpoint)79 so branch-protection requirements are known before issues are written.80- Bring in the standard community-files set: `.editorconfig`, `SECURITY.md`,81 Renovate config, gitleaks config, and equivalents already used across82 lgtm-hq repos.83- Make `lintro` the sole lint/format entry point — no bare `ruff`/`eslint`/84 etc. invocations left in scripts or CI.85- Wire releases through the version-PR + auto-tag flow used elsewhere in86 lgtm-hq, not manual tagging.8788Do not create milestones, epics, or issues until this recon is complete.8990### 4. Spec the backlog as milestones, epics, and issues9192Turn the grilled design into a milestone → epic → issue tree:9394- **Milestones** group epics by release/phase.95- **Epics** group issues by feature area.96- **Issues** are one-PR-sized. Every code issue gets an AI Implementation97 Prompt comment in the `issue` skill's format (see `skills/issue/SKILL.md`),98 so any issue is fan-out-ready for `implement-issues` without rework.99- Generalize the issue-generation script pattern (Python + `gh` calls100 creating milestones, epics, and issues from a structured spec) into a101 repo-agnostic template rather than a one-off script tied to this repo's102 domain. Keep the domain content (titles, bodies, prompts) separate from the103 generation mechanics so the template is reusable on the next prototype.104105### 5. Implement, issue by issue106107Only after the tree exists: implement issues one at a time, small PRs, per108the `pr` skill (or hand the whole ready backlog to `implement-issues` for109parallel, worktree-isolated lanes). Never batch unrelated issues into one PR110to save time — the point of stage 4 was to make each unit reviewable on its111own.112113## Guardrails114115- **Stage order is not negotiable.** Do not run standards recon before the116 design has been grilled, do not spec issues before recon is done, and do117 not implement before the issue tree exists.118- **Stop between stages.** Each stage's artifact (commit history, recorded119 design decisions, recon notes, the issue tree) should be reviewable before120 the next stage starts — do not silently chain all five stages into one121 unattended run.122- A stage that cannot stay green (lint, tests, or an unanswered blocking123 design question) **stops and reports** rather than pushing through.124- This skill never merges — implementation PRs follow the normal review and125 merge process for the target repo.