agent-change-walkthrough/SKILL.md
Produces a single-story walkthrough of AI-authored code changes from runtime trigger to final behavior, weaving changed and unchanged code into one narrative with annotated diffs, trade-offs, alternatives, and risk analysis. Use when asked to "explain what changed", "walk me through this diff", "summarize agent edits", "show how this feature works", or "explain this implementation step by step".
npx skillsauth add abanoub-ashraf/manus-skills-import agent-change-walkthroughInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate one coherent implementation story that explains how the code works end-to-end after the change.
Restate the requested change in plain language.
Include:
If requirements are ambiguous, state assumptions before proceeding.
Collect both sources before writing:
Conversation context (planning input only)
Git-based evidence (source of truth for output)
Use commands such as:
git status --short
git diff --name-only
git diff -- <file>
git show -- <file>
Use history only when needed to disambiguate intent:
git log --oneline -- <file>
Never include conversation process, investigation history, or request negotiation as walkthrough steps. The walkthrough must describe implementation behavior only.
Order story steps by dependency-first causality:
If runtime order and dependency order conflict, prefer dependency order and add one short transition sentence that reconnects to runtime flow.
Skip non-essential detail while preserving causal clarity.
For each story step:
UNCHANGED CONTEXT or CHANGEDFilename: <relative/path/to/file.ext:start_line>`` immediately above each snippetSymbol: <function/method/class>`` above each snippet when usefulAvoid rigid template labels such as Why this step exists: or Impact:. Write readable, connected prose instead. Keep headings and narrative readable; put precise location in the snippet header.
When code changed, prefer mini-diff snippets:
- old behavior
+ new behavior
When the change affects data shape or behavior, add a small Example input/output block after the code snippet to show realistic values flowing through the updated code.
Call out semantic effect per changed hunk.
Embed analysis at the relevant story step:
Use natural language callouts in prose; keep them concise and specific.
After the final story step, add a short close-out with:
Return this structure:
# Implementation Walkthrough## Step 1, ## Step 2, ...)## Final OutcomeUse this structure:
# Implementation Walkthrough
This change adds source-aware feature behavior for a new UI path while preserving the existing invocation flow.
## Step 1 — User click enters the feature entrypoint [UNCHANGED CONTEXT]
The runtime trigger is still the button click. That handler forwards the input into the existing feature path, so the change does not alter how execution begins.
Filename: `src/ui/button.ts:42`
Symbol: `onClick`
```ts
button.onClick = () => startFeature(input)
```
From here, control moves into `startFeature()`.
## Step 2 — Entrypoint forwards to service [UNCHANGED CONTEXT]
The orchestration layer remains unchanged and continues to delegate work to `run()`. This is important context because it means the new behavior is introduced deeper in the service layer, not at the boundary.
Filename: `src/feature/entry.ts:10`
Symbol: `startFeature`
```ts
export function startFeature(input: Input) {
return run(input)
}
```
That keeps the original control flow intact and localizes the behavior change.
## Step 3 — Service return payload updated [CHANGED]
This is the functional change: the service now includes source metadata in its return payload so downstream consumers can render source-specific UI behavior.
Filename: `src/feature/service.ts:88`
Symbol: `run`
```diff
- return { state: "pending" }
+ return { state: "ready", source: "agent" }
```
Example input/output:
```json
{
"input": { "taskId": "t_123", "state": "pending" },
"output_before": { "state": "pending" },
"output_after": { "state": "ready", "source": "agent" }
}
```
The team chose to enrich the existing payload instead of creating a second metadata endpoint, which avoids an extra network hop and synchronization complexity. Performance impact here is negligible because no additional I/O is introduced, but there is a compatibility risk for legacy consumers that assume the old payload shape.
## Step 4 — UI consumes enriched payload [CHANGED]
Rendering now branches on the new `source` field, which is what makes the feature visible to users. This step is where the service-layer change becomes observable behavior.
Filename: `src/ui/render.ts:120`
Symbol: `renderState`
```ts
if (data.source === "agent") {
showAgentState()
}
```
At this point the flow reaches the updated UI outcome.
## Final Outcome
The feature still starts at the same runtime trigger and follows the same orchestration path, but the changed service payload now drives source-aware rendering. Next validation should confirm that legacy consumers handle the added `source` field safely.
Complete only when all checks pass:
CHANGED story step.Filename: relative/path/to/file.ext:start_line format.UNCHANGED CONTEXT steps.If any criterion fails, state what is missing and continue refining before finalizing.
development
Design principles for building polished, native-feeling SwiftUI apps and widgets. Use this skill when creating or modifying SwiftUI views, iOS widgets (WidgetKit), or any native Apple UI. Ensures proper spacing, typography, colors, and widget implementations that look and feel like quality apps rather than AI-generated slop.
data-ai
Design and implement SwiftUI views, components, and app architecture. Use when creating new SwiftUI views, implementing MVVM/TCA patterns, managing state with @Observable, @State, @Binding, or @Environment, designing navigation flows, or structuring iOS app architecture. Triggers on SwiftUI, view model, state management, navigation, coordinator pattern.
development
Implement, review, or improve SwiftUI animations and transitions. Use when adding implicit or explicit animations with withAnimation, configuring spring animations (.smooth, .snappy, .bouncy), building phase or keyframe animations with PhaseAnimator/KeyframeAnimator, creating hero transitions with matchedGeometryEffect or matchedTransitionSource, adding SF Symbol effects (bounce, pulse, variableColor, breathe, rotate, wiggle), implementing custom Transition or CustomAnimation types, or ensuring animations respect accessibilityReduceMotion.
testing
Audit SwiftUI views for accessibility (iOS + macOS) with patch-ready fixes