Skip to content

feat: Create framework gotchas reference #38

Closed

Description

@admarble

Problem

Framework-specific issues (like AG Grid v35 module registration changes) aren't captured anywhere in the skills system. This leads to:

  • Repeated discovery of the same issues
  • Wasted debugging time
  • Knowledge loss between sessions

Proposed Solution

Create references/shared/framework-gotchas.md that skills can reference:

# Framework Gotchas

Common framework-specific issues encountered in this project.

## AG Grid (v35+)
- **Module Registration Required:** v35 changed to explicit module registration
  ```typescript
  import { ModuleRegistry } from 'ag-grid-community';
  import { ClientSideRowModelModule } from 'ag-grid-community';
  ModuleRegistry.registerModules([ClientSideRowModelModule]);
  • CSS Import Changes: Styles now in separate package

React 19

  • New hooks behavior (use() hook)
  • Concurrent features on by default

Next.js 15

  • Changed caching defaults (no longer caches fetch by default)
  • New async request APIs

Tailwind v4

  • CSS-first configuration
  • Different class syntax

Adding New Gotchas

When you encounter a framework-specific issue, add it here with:

  1. Framework and version
  2. Brief description
  3. Code example or fix
  4. Link to docs/changelog if available

## Implementation

1. Create `references/shared/` directory for cross-skill references
2. Create `framework-gotchas.md` with initial content
3. Update `/exec` to reference this file when encountering runtime errors
4. Update `/reflect` to suggest adding gotchas after discovering framework issues

## Acceptance Criteria

- [ ] Create `references/shared/framework-gotchas.md`
- [ ] Include AG Grid v35, React 19, Next.js 15 as initial entries
- [ ] Add section explaining how to contribute new gotchas
- [ ] Reference from `/exec` skill (optional check before implementation)

## Related

Loosely related to #17 (framework-agnostic test config), but this is about capturing known issues, not configuration.

## Priority

Medium - knowledge capture improves over time

Activity

  1. admarble commented on Jan 9, 2026

    @admarble
    ContributorAuthor

    Acceptance Criteria (with Verification)

    AC-1: Create references/shared/framework-gotchas.md

    Verification: Manual - File exists at .claude/skills/references/shared/framework-gotchas.md

    • Given: The sequant repository
    • When: Check for the file
    • Then: File exists with proper markdown structure

    AC-2: Include AG Grid v35, React 19, Next.js 15 as initial entries

    Verification: Manual - File contains documented sections

    • Given: The framework-gotchas.md file
    • When: Read contents
    • Then: Contains AG Grid v35, React 19, Next.js 15 with descriptions, code examples, and doc links

    AC-3: Add section explaining how to contribute new gotchas

    Verification: Manual - Contribution guide exists

    • Given: The framework-gotchas.md file
    • When: Search for contribution section
    • Then: Clear template with: framework, version, description, code example, docs link

    AC-4: Reference from /exec skill

    Verification: Manual - Reference added to exec SKILL.md

    • Given: .claude/skills/exec/SKILL.md
    • When: Read contents
    • Then: Contains reference to references/shared/framework-gotchas.md

    Implementation Plan

    Phase 1: Create shared references directory and file

    1. Create .claude/skills/references/shared/ directory
    2. Create framework-gotchas.md with:
      • AG Grid v35 (module registration)
      • React 19 (use() hook, concurrent features)
      • Next.js 15 (caching defaults, async APIs)
      • Tailwind v4 (CSS-first config)
      • Contribution guide section

    Phase 2: Update /exec skill

    1. Add reference to framework gotchas in "Check Patterns Catalog" section
    2. Suggest checking gotchas when encountering runtime errors

    Open Questions

    Question Recommendation Impact
    Directory: references/shared/ vs elsewhere? Use .claude/skills/references/shared/ for cross-skill refs May need to move file if wrong
    Include /reflect reference too? Yes, add suggestion to add gotchas after discovering issues Minor - can add in follow-up

    Recommended Workflow

    Phases: exec → qa
    Quality Loop: disabled
    Reasoning: Documentation-only task with clear AC. No code changes or tests required.


    Implementation Readiness

    Status: READY

    • ✅ All AC are clearly defined
    • ✅ No technical blockers
    • ✅ Worktree already exists (feature/38-feat-create-framework-gotchas-reference)
    • ✅ No conflicting in-flight work
  2. added
    documentation
    on Jan 9, 2026
  3. added a commit that references this issue on Jan 9, 2026
  4. admarble commented on Jan 9, 2026

    @admarble
    ContributorAuthor

    Implementation Complete

    AC Coverage Summary

    AC Status Details
    AC-1: Create references/shared/framework-gotchas.md ✅ Done File created at .claude/skills/references/shared/framework-gotchas.md
    AC-2: Include AG Grid v35, React 19, Next.js 15 entries ✅ Done All frameworks documented with code examples and doc links
    AC-3: Add contribution section ✅ Done Template and guidelines included at end of file
    AC-4: Reference from /exec skill ✅ Done Added "Check Framework Gotchas on Runtime Errors" section

    Files Changed

    • .claude/skills/references/shared/framework-gotchas.md (new file, ~170 lines)
    • .claude/skills/exec/SKILL.md (+13 lines for gotchas reference)

    Test Results

    • npm test: ✅ 156 tests passed

    PR Status

    ✅ Created: #43

    Notes

    • Also included Tailwind v4 as mentioned in the issue description
    • Gotchas file includes practical code examples for each framework issue
    • /exec skill now suggests checking gotchas when encountering runtime errors
  5. admarble commented on Jan 10, 2026

    @admarble
    ContributorAuthor

    Spec Review (Re-run)

    Acceptance Criteria with Verification

    AC Description Verification Method Status
    AC-1 Create references/shared/framework-gotchas.md Manual - File exists at .claude/skills/references/shared/framework-gotchas.md ✅ Implemented
    AC-2 Include AG Grid v35, React 19, Next.js 15 entries Manual - File contains sections with code examples and doc links ✅ Implemented
    AC-3 Add contribution section Manual - Template and guidelines present ✅ Implemented
    AC-4 Reference from /exec skill Manual - SKILL.md contains gotchas reference ✅ Implemented

    Conflict Analysis

    Overlapping files with in-flight work: None
    Safe to merge: Yes - no conflicts with other worktrees (#11, #3, #39, #41, #42, #6)

    Implementation Status

    Phase Status
    spec ✅ Complete
    exec ✅ Complete (PR #43)
    qa ⏳ Pending

    Recommended Next Steps

    1. Run /qa 38 to verify AC satisfaction and PR quality
    2. Merge PR feat(#38): Add framework gotchas reference #43 after QA approval

    🤖 Generated by /spec 38 workflow

  6. admarble commented on Jan 10, 2026

    @admarble
    ContributorAuthor

    QA Review for Issue #38

    AC Coverage

    AC Description Status Notes
    AC-1 Create references/shared/framework-gotchas.md ✅ MET File exists at .claude/skills/references/shared/framework-gotchas.md with proper markdown structure
    AC-2 Include AG Grid v35, React 19, Next.js 15 entries ✅ MET All three frameworks documented with code examples and official doc links
    AC-3 Add contribution section ✅ MET "Adding New Gotchas" section with template and guidelines for future entries
    AC-4 Reference from /exec skill ✅ MET Added "Check Framework Gotchas on Runtime Errors" section to exec/SKILL.md

    Coverage: 4/4 AC items fully met


    Quality Metrics

    Metric Value Status
    Type issues (any) 0 ✅ OK
    Deleted tests 0 ✅ OK
    Files changed 2 ✅ OK
    Lines added +199 -
    Lines deleted -0 -

    Code Review

    Strengths:

    • Well-structured documentation with clear sections per framework
    • Each framework entry includes: version, problem description, code examples (before/after), and official docs links
    • Contribution guidelines include template and 5 specific guidelines for maintainability
    • Includes Tailwind v4 as a bonus entry (mentioned in issue description)
    • Exec skill integration is appropriately placed in the existing patterns section

    Issues:

    • None identified

    Suggestions:

    • None - implementation is complete and follows the issue requirements precisely

    Verdict: READY_FOR_MERGE

    All 4 Acceptance Criteria are fully met. The framework-gotchas.md file is well-structured with practical code examples for AG Grid v35, React 19, Next.js 15, and Tailwind v4. The contribution section provides clear guidelines for future entries. The /exec skill appropriately references this file for runtime error troubleshooting.

    Test Results:

    • npm test: ✅ 156 tests passed
    • npm run build: ✅ Success

    Next Steps

    1. ✅ Ready for merge - no further changes required
    2. Run /docs 38 to generate feature documentation before merging (optional for documentation-only changes)

    🤖 Generated by /qa 38 workflow

  7. added a commit that references this issue on Jan 10, 2026
  8. added 2 commits that reference this issue on Jul 15, 2026
  9. added 3 commits that reference this issue on Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions