ai-sdlc-doctor
AI SDLC installation diagnostics and safe upgrade planning. Use when an AI assistant needs to inspect harness prerequisites, repository layout, module and skill registration, detect actionable installation problems, compare versioned file inventories, preview additions/modifications/removals/schema migrations, or produce backup and rollback plans without applying an upgrade. Supports `--quick-flow` and `--full-flow`.
How do I install this agent skill?
npx skills add https://github.com/mikegorelikoff/ai-sdlc-harness --skill ai-sdlc-doctorIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The ai-sdlc-doctor skill provides installation diagnostics and upgrade planning. It performs read-only operations on repository metadata and writes reports to a dedicated local directory. Analysis shows proper path sanitization and no evidence of malicious behavior, data exfiltration, or unauthorized command execution.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
ai-sdlc-doctor: Diagnostics And Safe Upgrade Plans
Internal AI SDLC skill, not client-facing by default. Doctor and upgrade planning are read-only with respect to installation files.
0. Skill Card
- Skill name:
ai-sdlc-doctor - Primary audience: Dev, Delivery
- Supporting audience: Release, Architecture
- Audience tags: Dev, Delivery, Release, Architecture
- SDLC stage: Installation and upgrade operations
- Purpose: Explain installation health and upgrade impact before mutation.
- Output:
_ai_sdlc/doctor/report.{toon,json,md}or_ai_sdlc/upgrades/<id>/plan.{toon,json,md}
0.1 Required Inputs
- Repository root for doctor checks.
- Current and target versioned inventories plus active harness API for upgrade planning.
0.2 Clarification Rules
- Ask when the installation root or target inventory is ambiguous.
- Reject unsafe paths, invalid hashes, duplicate files, invalid versions, and incompatible API ranges.
- Never repair, install, delete, overwrite, migrate, or restore files automatically.
0.2.1 Flow Mode Flags
- Support
--quick-flowand--full-flow; full flow takes precedence. - Full flow requires review of every warning, migration, backup, rollback, and blocker.
0.3 Output Rules
- Default to complete TOON with checks, evidence, remediation, file changes, migrations, backups, rollback actions, blockers, and fingerprints.
- Return summaries directly in the Codex response.
- Emit
ai-sdlc-handoff/v1withresult,blockers,next_required, andnext_optional; actions includereason,command, andexpected_artifact. - Do not create
summary.txt,*-summary.txt, or another standalone summary file.
0.4 Artifact Routing
- Write generated reports only below repository
_ai_sdlc/. - Keep authored upgrade inventories visible and version controlled.
- Never treat a generated plan as authority to apply changes.
0.5 Feature State Machine
- Read owning feature
_ai_sdlc/state.toonwhen diagnostics affect feature work. - Diagnostics and upgrade plans do not mutate feature state.
0.6 Artifact Metadata And Metatags
- Related Markdown uses canonical
artifact_metadataandmetatags. - Machine records use versioned doctor, inventory, and upgrade-plan schemas.
0.7 Specs Index
- Read
_ai_sdlc/specs-index.toonfirst and usespecs-index.mdfor human review. - Operational reports do not refresh either index.
References
- Read
references/doctor-contract.mdbefore interpreting health or upgrade safety. - Use
references/diagnostics.jsonas the deterministic check registry. - Validate inventories with
references/upgrade-inventory.schema.json. - Use
scripts/doctor.pyfor all reports and plans.
Script Usage
python3 skills/ai-sdlc-doctor/scripts/doctor.py . --doctor --write
python3 skills/ai-sdlc-doctor/scripts/doctor.py . --upgrade --current current.json --target target.json --upgrade-id v2-preview --write
Purpose
Make operational gaps and upgrade risk reviewable before any installation mutation.
Steps
- Run registered prerequisite, layout, module, skill, and docs checks.
- Report evidence and exact remediation without executing it.
- Validate current and target inventories and API compatibility.
- Diff files into add, modify, remove, unchanged, and schema-migration actions.
- Plan backups for every modified or removed file.
- Plan reverse-order rollback for every proposed change.
- Emit TOON-first records; require a later authorized workflow to apply them.
Output Spec
Doctor checks have stable codes, statuses, evidence, and remediation. Upgrade plans contain exact hashes, schema transitions, backup destinations, rollback actions, compatibility blockers, and deterministic identity.
Scope Boundary
- Do not install dependencies or modify the installation.
- Do not execute remediation, backup, migration, apply, or rollback actions.
- Do not hide incompatible or destructive changes behind an aggregate status.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/mikegorelikoff/ai-sdlc-harness/ai-sdlc-doctor">View ai-sdlc-doctor on skillZs</a>