kubit-researching-prior-art

Use when designing new subsystem, comparing implementation approaches, or user asks how other frameworks handle something. Use when researching Laravel, Rails, AdonisJS, Inertia.js, or similar framework patterns.

⭐32stars🔀2forks📁View on GitHub🕐Updated Jan 8, 2026⬇️2downloads

When & Why to Use This Skill

This Claude skill facilitates architectural research and technical decision-making by analyzing prior art from established web frameworks like Laravel, Rails, and AdonisJS. It helps developers design robust subsystems by comparing implementation patterns, public APIs, and industry conventions to ensure best practices in software engineering.

Use Cases

  • Case 1: Designing a new subsystem (such as Auth, Validation, or ORM) by researching how established frameworks solve similar problems.
  • Case 2: Comparing different implementation approaches to justify architectural decisions in RFCs or technical design documents.
  • Case 3: Analyzing the public APIs and mental models of existing frameworks to create developer-friendly interfaces for new tools.
  • Case 4: Conducting competitive analysis of framework patterns like 'Convention over Configuration' or 'Fluent APIs' to inform system design.
  • Case 5: Documenting technical research and insights into structured formats like BRAINDUMP.md or SPEC.md decision logs.
namekubit-researching-prior-art
descriptionUse when designing new subsystem, comparing implementation approaches, or user asks how other frameworks handle something. Use when researching Laravel, Rails, AdonisJS, Inertia.js, or similar framework patterns.

Researching Prior Art for Kubit

Overview

When designing subsystems, research how established frameworks solve the same problem. Capture findings in docs/BRAINDUMP.md or the relevant RFC.

When to Use

  • Designing new subsystem (Auth, Validation, etc.)
  • User asks "how does Laravel/Rails do X?"
  • Comparing implementation approaches
  • Need to justify design decisions

Frameworks to Reference

Framework Strong Areas
Laravel Eloquent ORM, Queue, Mail, Auth, Blade
AdonisJS TypeScript patterns, decorators, Lucid ORM
Rails ActiveRecord, conventions, generators
Inertia.js SPA protocol, React SSR, forms
Remix/Next React SSR, data loading, routing

Research Questions

When studying a pattern:

  1. What's the public API? (method signatures, config)
  2. What conventions are enforced?
  3. What's the mental model? (how users think about it)
  4. What are the extension points?
  5. What do users complain about? (learn from mistakes)

Capture Location

Scope Where to capture
General philosophy docs/BRAINDUMP.md
Specific subsystem research Relevant RFC
Design decision SPEC.md Decision Log

Research Template

## [Subsystem] Prior Art

### Laravel
- API: `Mail::to($user)->send(new OrderShipped($order))`
- Conventions: Mailables as classes, queued by default
- Extension: Custom transports via driver config

### AdonisJS
- API: Similar but TypeScript-native
- Conventions: Decorators for metadata

### Key Insights
- [What to adopt]
- [What to avoid]
- [Kubit-specific adaptation needed]

Common Patterns Across Frameworks

Class-based entities: Controllers, Models, Jobs, Mailables are classes Decorators/Annotations: Metadata on properties and methods Convention over configuration: Sensible defaults, override when needed Fluent APIs: Method chaining for configuration DI containers: Automatic dependency resolution