Skip to content

Navigation Menu

Sign in
Sign up

fix(bugfix): improve implementation pattern guidance - #48

Draft
ambient-code[bot] wants to merge 1 commit into
main from
feedback/bugfix-implementation-patterns
Draft

fix(bugfix): improve implementation pattern guidance #48
ambient-code[bot] wants to merge 1 commit into
main from
feedback/bugfix-implementation-patterns

Conversation

@ambient-code

@ambient-code ambient-code Bot commented Feb 24, 2026

Copy link
Copy Markdown

Summary

Addresses 3 corrections from session-1771963475 where the agent:

  1. Referenced a non-existent .claude/patterns/react-query-usage.md file
  2. Missed the 'Error' terminal state in polling logic
  3. Didn't account for React Query keepPreviousData interaction

Changes

Fix Skill (workflows/bugfix/.claude/skills/fix/SKILL.md):

  • Added pre-implementation guidance in Step 3 to search codebase for patterns and verify file paths before referencing them
  • Added thorough edge case handling guidance in Step 4 including explicit state listing and feature interaction consideration

Diagnose Skill (workflows/bugfix/.claude/skills/diagnose/SKILL.md):

  • Added guidance in Step 7 to identify complete state sets and verify technical requirements against codebase usage

Impact

These improvements help prevent:

  • Hallucination of non-existent pattern files
  • Incomplete state/condition handling
  • Missing feature interactions

By encouraging systematic codebase searches and explicit enumeration of all states/conditions, the workflow now provides better guidance for implementing complete and correct fixes.

... feedback
Address corrections from session-1771963475 where the agent:
1. Referenced a non-existent patterns file
2. Missed terminal state 'Error' in polling logic
3. Didn't account for React Query keepPreviousData interaction
Changes:
- Fix skill: Add pre-implementation guidance to search codebase for patterns
 and verify file paths before referencing them (prevents hallucination)
- Fix skill: Add thorough edge case handling guidance including explicit
 state listing and feature interaction consideration
- Diagnose skill: Add guidance to identify complete state sets and verify
 technical requirements against codebase usage
These improvements help prevent incomplete implementations by encouraging
systematic codebase searches and explicit enumeration of all states/conditions.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

0 participants

AltStyle によって変換されたページ (->オリジナル) /