Techniques
Advanced patterns and methodologies for AI-native workflows.
32 articlesAccessibility Auditing
Checking HTML/React components for ARIA compliance and screen reader support.
Read article →API Stubbing
Generating mock OpenAPI endpoints or JSON responses for frontend development.
Read article →Bash Script Assembly
Writing complex shell scripts by describing the workflow.
Read article →Chain-of-Thought Prompting
Asking the AI to think step-by-step before generating the code solution.
Read article →Architectural Scaffolding
Having the AI build the folder structure and empty files first.
Read article →CI/CD Pipeline Drafting
Generating GitHub Actions YAML specs for deployment automation.
Read article →Commit Message Generation
Pasting git diffs and asking for conventional commit messages.
Read article →Component Decomposition
Asking the AI to break a monolithic React component into smaller units.
Read article →Context Priming
Feed the AI relevant code files or examples before generating.
Read article →Docstring-Driven Dev
Writing the docstring and letting Copilot or an AI complete the function.
Read article →Cross-Language Porting
Translating working code from one language to another.
Read article →CSS Grid Generation
Describing a layout visually to get the CSS Grid or Flexbox code.
Read article →Error Trace Injection
Pasting the entire stack trace for the AI to debug.
Read article →Dockerfile Optimization
Having the AI rewrite a Dockerfile to use multi-stage builds.
Read article →Few-Shot Examples
Providing 2-3 examples of desired input/output format before generating.
Read article →Incremental Refinement
Generating a generic function, then asking for edge cases to be added.
Read article →Legacy Code Explanation
Having the AI summarize undocumented legacy spaghetti code.
Read article →Internationalization Prep
Extracting hardcoded strings from components into i18n JSON files.
Read article →Performance Golf
Asking the AI to optimize an existing function for time or space complexity.
Read article →Migration Scripting
Writing database schema migration scripts using ORM specific syntax.
Read article →Regex Generation
Providing examples of matching strings to generate complex regular expressions.
Read article →Pseudo-Code Translation
Writing out logic in English pseudo-code and having the AI compile it.
Read article →Role-Playing Architecture
Asking the AI to act as a senior architect to review your design.
Read article →Security Smell Checks
Using AI explicitly to audit code for OWASP vulnerabilities.
Read article →Rubber Duck AI
Explaining the problem to the AI to figure it out yourself or get a solution.
Read article →Spec-First Prompting
Writing a detailed specification document before generating code.
Read article →SQL Query Translation
Describing data requirements in English to generate complex SQL joins.
Read article →State Machine Modeling
Generating XState or standard state machine configs from descriptions.
Read article →Type Hint Inference
Passing untyped Python/JS and asking for full strict typing.
Read article →Variable Naming Brainstorm
Asking for 10 possible naming conventions for a complex function.
Read article →Test-Driven Vibing
Writing tests first, then making the AI write code that passes them.
Read article →Unit Test Mocking
Asking the AI to generate the boilerplate for mocking complex dependencies.
Read article →