check-impl

Verifies code implementation assumptions against actual API contracts, component lifecycles, and data flows.

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/SilentFlower/flower-trellis --skill check-impl-silentflower
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: check-impl
Source: https://github.com/SilentFlower/flower-trellis/tree/main/enhancements/old/.agents/skills/check-impl
Command: npx skills add https://github.com/SilentFlower/flower-trellis --skill check-impl-silentflower

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Most implementation bugs come from wrong assumptions rather than logic errors: misremembered API response structures, unexpected component lifecycle behavior inside modals, or missing fields on historical records. This Skill provides a post-implementation reality check that validates your code against the actual source, not your memory. ## Core Features & Use Cases - API Contract Verification: Confirms response structures, parameter names, and pagination fields by reading the actual Controller/Handler source code. - Component Context Checks: Detects state-loss bugs caused by Modal/Drawer containers destroying child components on close. - Data History & Flow Tracing: Validates new fields against old records and traces complete frontend-to-database data paths including null-value scenarios. - Verification Tests: Requires runnable tests for critical assumptions, prioritizing fragile paths over happy paths. - Use Case: After adding a filter that relies on a newly added database column, run this check to discover that historical records have empty values for that field and design a fallback query path before shipping. ## Quick Start Ask the AI to run the check-impl reality check on my current git changes to verify my API and data assumptions are correct.

Frequently Asked Questions about check-impl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify my frontend code matches the actual backend API response?▼

Read the Controller or Handler source code to confirm the real response structure instead of relying on memory. Check whether the response is a plain array, a paginated object like { items, total }, or wrapped in an envelope like { success, message, data }, then write a request test covering normal and empty paths.

Why does my form lose state when I close and reopen a modal?▼

Modal and Drawer containers typically destroy child components on close, so component state is lost by default. To preserve state, use options like keepDOM or destroyOnClose={false}, and check how existing components in the same container are configured in your project.

How do I handle old records when adding a new database field?▼

Historical records will have empty, zero, or null values for the new field, so filters relying on it may silently exclude old data. Verify query behavior against real legacy records and add a fallback query path, such as joining a detail table, when aggregated data lacks the needed dimension.

What is the difference between check-impl and check-cross-layer?▼

check-cross-layer verifies structural completeness of a change across layers, while check-impl verifies assumption correctness in the implementation. They are complementary: run cross-layer for structure and check-impl as a post-implementation safety net for wrong premises.

When should I write verification tests for code assumptions?▼

Write verification tests whenever a change touches API contracts, data models, or cross-layer data flows. Prioritize the most fragile assumptions such as parameter names and nesting levels, cover null and zero-value paths, and actually run the tests rather than only reviewing code statically.