← Zurück zu Desktop-App-Entwickler
Entdecke, wie der Skill hilft
Verborgenen Umgebungszustand finden
Ermittelt fehlende Voraussetzungen für Fehler zwischen Geräten, Konten, Builds und gespeicherten Zuständen.
environment-state-discovery
Teammitglieder mit diesem Skill
Wann ist der Skill hilfreich?
Nutze diesen Skill, wenn ein sauberer Start den Fehler nicht reproduziert.
Wobei hilft er dir?
- Vergleicht Codeversionen, Abhängigkeiten sowie Entwicklungs- und Produktionsbuilds.
- Erfasst Konfiguration, Sprache, Zeitzone und Rechte ohne Geheimnisse.
- Prüft aktualisierten Speicher und warme Zustände vor Zurücksetzungen.
Das könntest du fragen
Untersuche falsche Summen nach einem Upgrade anhand von Spracheinstellungen, Cache, Kontorechten und laufender Version. Vergleiche das betroffene Profil mit einem frischen, ohne das Original zu löschen. Ermittle den kleinsten Zustandsunterschied, der die falsche Summe auslöst.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
Environment & State Discovery
When to Use
Use when a bug cannot be reproduced on a default clean start, or when behavior differs across machines, browsers, OS platforms, user accounts, or deployment environments.
The Five Hidden State Dimensions
Most "intermittent" or "cannot reproduce" bugs are actually deterministic bugs with an unrecorded precondition. Systematically audit five dimensions:
1. Code Revision, Dependencies & Build Mode
- Exact git SHA / release tag, dirty working tree status, and lockfile state (
package-lock.json,pnpm-lock.yaml,composer.lock,uv.lock,Cargo.lock). - Development build vs. production build: minification, tree-shaking, SSR hydration, React
StrictModedouble-invocation, CSP headers, and production environment optimizations frequently trigger bugs absent indevmode.
2. Configuration, Feature Flags & Locale/Timezone
- Environment variables (
.env), tenant-specific settings, active feature flags, and rate-limit or quota tiers. - Locale, Timezone & Clock Boundaries: Test non-UTC timezones (
America/New_York,Europe/Budapest,Asia/Tokyo), Daylight Saving Time transitions, month/year boundaries (2026-01-01T00:00:00), 24h vs. 12h formatting, and decimal separators (,vs..inhu/devs.en).
3. Identity, Role & Permission Boundaries
- User role (
admin,member,viewer, unauthenticated guest), multi-tenant organization membership, resource ownership, and expired or partially refreshed auth tokens.
4. Cold Start vs. Warm / Dirty Persisted State
Always test both a Clean State Start and a Dirty / Upgraded State Start:
- Browser / Client State:
localStorage,sessionStorage, IndexedDB schema versions, Service Worker caches, stale cookies, and back/forward navigation history. A schema change inlocalStorageoften crashes returning users while working fine in a fresh incognito window! - Database & Server State: Legacy rows with
NULLin newly added columns, soft-deleted sibling records, empty (0items) vs. paginated (> 100items) collections, and stale Redis/in-memory cache entries.
5. Platform & Runtime Matrix
- OS (
macOS,Windowspath separators\,Linuxcase-sensitive filesystems), CPU architecture (arm64vs.x64), Node/PHP/Python/Rust runtime versions, and browser engine (Chromium,WebKit/Safari,Gecko/Firefox). - Never wipe a reporter's or test environment's persisted state before capturing a snapshot of the state that triggers the bug.
Enthaltene Dateien 1
SKILL.md
