This standard ensures that all planning and research activities are based on the actual versions of dependencies and tools being used in the project, preventing outdated or incorrect information from leading to invalid solutions.
Before any planning, research, or definitive statements about capabilities:
- Check Project Dependencies: Always examine
package.json,Cargo.toml,pyproject.toml, or equivalent dependency files - Verify Lockfile Versions: Check
pnpm-lock.yaml,yarn.lock,package-lock.json,Cargo.lock, or equivalent for exact versions - Identify Configuration Versions: Look for version-specific config files (e.g.,
biome.jsonwith$schemaindicating v2) - Note Framework/Runtime Versions: Check Node.js, Python, Rust versions from
.nvmrc,pyproject.toml, etc.
- NEVER make definitive statements about what is/isn't possible without version verification
- Use phrases like "checking the latest documentation for your version..." when uncertain
- Explicitly state version numbers when researching: "Looking at Biome v2 documentation..."
- Context7: Use with exact library IDs and version numbers when available
- WebSearch: Include version numbers in search queries (e.g., "biome v2 config duplication")
- Official Documentation: Prioritize versioned docs over generic guides
- GitHub Issues/Releases: Check recent issues and changelogs for version-specific information
Good Examples:
- "biome v2 configuration inheritance"
- "React 18.3 concurrent features"
- "TypeScript 5.4 new syntax"
Bad Examples:
- "biome configuration" (version-agnostic)
- "React hooks" (could apply to any version)
- "latest TypeScript features" (ambiguous)
- Cross-Reference Sources: Check at least 2 authoritative sources
- Version Match: Ensure documentation matches detected project versions
- Release Date Validation: Verify information is current for the identified version
- API Existence Check: When claiming something doesn't exist, verify in version-specific docs
- Explicitly state uncertainty: "Let me check the v2 documentation to confirm..."
- Research first, then provide definitive answers
- Acknowledge when information might be outdated: "This may have changed in recent versions"
- Biome, ESLint, Prettier config schemas change between major versions
- Build tools (Vite, Webpack, Rollup) have version-specific features
- TypeScript compiler options evolve across versions
- Framework features (React hooks, Vue composition API)
- Library methods and their signatures
- CLI commands and flags
- Reference Deprecation Standards for handling outdated APIs
- Proactively check for deprecation notices in version-specific docs
- Update deprecated usage even when not directly related to main task
- Build on existing dependency checking requirements
- Add version-specific API validation to debugging workflows
- Use version detection to identify deprecated features more accurately
- Apply deprecation fixes based on current version capabilities
- User contradicts previous advice (may indicate outdated information)
- Configuration not working as expected
- API or CLI commands failing unexpectedly
- Documentation seems to conflict with actual behavior
- Acknowledge the outdated information
- Re-research with correct version context
- Provide corrected guidance
- Update approach based on actual capabilities
Let me check your package.json to see which version of Biome you're using...
I see you're using Biome v2.1.0. Let me look up the v2 configuration documentation to see the latest options for reducing duplication...
Biome doesn't support configuration inheritance, so you can't reduce duplication.
This standard applies to:
- All planning and research activities
- Tool and library capability assessments
- Configuration and setup guidance
- Debugging and troubleshooting
- API usage recommendations
Violations result in potentially incorrect solutions and user frustration when advice doesn't match actual capabilities.