Define the solution
Read the entry point's shared rules.
Input: selected issue, all comments and linked context, and any prior solution/decisions. If context is incomplete, return to intake rather than guessing requirements.
Inspect the relevant code, factory skills, agents, documentation, and validation commands. Present a concise solution with:
- The problem and relevant comment decisions, linked to source permalinks.
- Checkable acceptance criteria, approach, affected files, non-goals, dependencies/risks, and verification commands.
- For each new or changed rule, the one file that owns it (see shared rules in the SDLC). Check new field names and terms against existing values (for example, a
designfield next tokind: design) and pick names that cannot be confused. - Hard-to-reverse mechanics: the Git strategy (rebase or merge, what may be force-pushed), record and state formats, and any shortcut that skips a verification step (for example, keeping a review after the branch changes). Mark each shortcut as a risk, say what it saves, and default to the safe path unless the developer chooses the shortcut. Settle these before implementation; changing one later discards the review rounds spent on it.
- Release impact: internal-only, patch, minor (backward-compatible improvement), or major/breaking. Judge impact on installed projects, not diff size. For shipped changes, propose the exact current → target version under the project's policy, including pre-1.0 conventions; ask the maintainer if the policy is unclear. Internal-only tooling needs no plugin version bump or release entry.
- Compatibility: affected prior versions, task formats, stored records, configuration, and workflow contracts. State whether migration is needed, including for minor changes; justify a no-migration decision.
For every major/breaking change, define a migration strategy before implementation: target version/layout, sequential intervening-release steps, operational prerequisites, affected artifacts, backup/dry-run steps, ordered manual or automated actions, explicit approval before mutation, preservation of IDs/history/approval evidence, post-migration checks, and rollback/recovery. For an issue included in a release, provide a compatibility summary instead; the release work authors one migration plan for the whole release (see the SDLC release rules). Otherwise, when migration is needed, hand off to work-issue-migrations to author a version-scoped descriptor using its template, then return here for solution/migration approval. Minor changes with migration needs use the same stage. Do not embed release-specific migration behavior in the consumer migrate skill; keep target-specific behavior in descriptors; updating the plugin must not silently mutate consumer projects.
Keep the first change small. If multiple PRs are needed, agree the split and outstanding work, and whether to stack them under the SDLC stacking rule; partial work must not close the issue. Obtain developer approval of the solution, version impact, and migration strategy. Do not write product code or treat silence as approval. Keep working notes outside tracked product files unless durable documentation is in scope.
Handoff: solution, acceptance criteria, release/migration decisions, verification plan, and the explicit approval or unresolved decision. Planning-only requests end here. Otherwise return to the entry point for implementation only after approval.
Original Markdown, including metadata
--- name: work-issue-define description: Define and obtain approval of an internal factory issue solution, including release impact and migration strategy. Use after issue intake or when the agreed scope materially changes. --- # Define the solution Read the [entry point's shared rules](../work-issue/SKILL.md). **Input:** selected issue, all comments and linked context, and any prior solution/decisions. If context is incomplete, return to intake rather than guessing requirements. Inspect the relevant code, factory skills, agents, documentation, and validation commands. Present a concise solution with: - The problem and relevant comment decisions, linked to source permalinks. - Checkable acceptance criteria, approach, affected files, non-goals, dependencies/risks, and verification commands. - For each new or changed rule, the one file that owns it (see [shared rules in the SDLC](../../../docs/sdlc.md#implementation-and-verification)). Check new field names and terms against existing values (for example, a `design` field next to `kind: design`) and pick names that cannot be confused. - **Hard-to-reverse mechanics:** the Git strategy (rebase or merge, what may be force-pushed), record and state formats, and any shortcut that skips a verification step (for example, keeping a review after the branch changes). Mark each shortcut as a risk, say what it saves, and default to the safe path unless the developer chooses the shortcut. Settle these before implementation; changing one later discards the review rounds spent on it. - **Release impact:** internal-only, patch, minor (backward-compatible improvement), or major/breaking. Judge impact on installed projects, not diff size. For shipped changes, propose the exact current → target version under the project's policy, including pre-1.0 conventions; ask the maintainer if the policy is unclear. Internal-only tooling needs no plugin version bump or release entry. - **Compatibility:** affected prior versions, task formats, stored records, configuration, and workflow contracts. State whether migration is needed, including for minor changes; justify a no-migration decision. For every major/breaking change, define a migration strategy **before implementation**: target version/layout, sequential intervening-release steps, operational prerequisites, affected artifacts, backup/dry-run steps, ordered manual or automated actions, explicit approval before mutation, preservation of IDs/history/approval evidence, post-migration checks, and rollback/recovery. For an issue included in a release, provide a compatibility summary instead; the release work authors one migration plan for the whole release (see the [SDLC release rules](../../../docs/sdlc.md#releases)). Otherwise, when migration is needed, hand off to [work-issue-migrations](../work-issue-migrations/SKILL.md) to author a version-scoped descriptor using its template, then return here for solution/migration approval. Minor changes with migration needs use the same stage. Do not embed release-specific migration behavior in the consumer `migrate` skill; keep target-specific behavior in descriptors; updating the plugin must not silently mutate consumer projects. Keep the first change small. If multiple PRs are needed, agree the split and outstanding work, and whether to stack them under the [SDLC stacking rule](../../../docs/sdlc.md#before-changing-files); partial work must not close the issue. Obtain developer approval of the solution, version impact, and migration strategy. Do not write product code or treat silence as approval. Keep working notes outside tracked product files unless durable documentation is in scope. **Handoff:** solution, acceptance criteria, release/migration decisions, verification plan, and the explicit approval or unresolved decision. Planning-only requests end here. Otherwise return to the entry point for implementation only after approval.