brainstorming
Structured design dialogue that validates ideas before implementation begins.
CREATE comprehensive undo/redo systems with Command Pattern. Design state management for complex applications with canvas interactions, multiple stores, and user actions. Use when building new undo/redo functionality from scratch.
Full skill instructions
Always use the Command Pattern for undo/redo functionality:
interface Command {
execute(): void | Promise<void>
undo(): void | Promise<void>
getDescription(): string
canExecute(): boolean
}
class OptimizedHistory {
private undoStack: HistoryEntry[] = []
private redoStack: HistoryEntry[] = []
async execute(command: Command): Promise<void> {
await command.execute()
this.undoStack.push({ command, timestamp: Date.now() })
this.redoStack = []
this.optimizeMemory()
}
}
Create domain-specific commands for all mutable operations:
// Task Management Commands
class CreateTaskCommand extends BaseCommand {
constructor(private taskStore: any, private taskData: any) {
super(`Create task: ${taskData.title}`)
}
async execute(): Promise<void> {
this.generatedId = await this.taskStore.createTask(this.taskData)
}
async undo(): Promise<void> {
if (this.generatedId) {
await this.taskStore.deleteTask(this.generatedId)
}
}
}
// Canvas Interaction Commands
class MoveNodeCommand extends BaseCommand {
constructor(
private canvasStore: any,
private nodeId: string,
private fromPos: Position,
private toPos: Position
) {
super(`Move node ${nodeId}`)
}
async execute(): Promise<void> {
await this.canvasStore.updateNodePosition(this.nodeId, this.toPos)
}
async undo(): Promise<void> {
await this.canvasStore.updateNodePosition(this.nodeId, this.fromPos)
}
}
execute() and undo() methodsThis skill ensures robust, scalable undo/redo systems that maintain consistency across complex applications while optimizing performance and memory usage.
Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs