Skip to Content
DocumentsAIAI Use Cases

CodeExpander Pro × AI: Use Case Library

Ready-to-use templates and real-world scenarios

Document index · AI & Productivity


Contents


AI Prompt Templates

Code generation

Use FillIn: %fillmenu% for language, %fillarea% for requirements, %fillcheck% for options (comments, tests, best practices). Example abbreviation ai-gen; in ChatGPT/Claude type ai-gen + Tab → form → full prompt.

Test case generation

%cv% inserts clipboard; copy code then trigger e.g. ai-test with %fillmenu% for framework (Jest, Pytest, etc.).

Code review prompts

Use %cv% to paste code, %fillcheck% for review dimensions. See FillIn variables.

Doc generation

README/API doc generators: %filltext%, %fillarea%, %fillmenu% for project name, type, language, description.


Code Snippet Library

Error handling

Python (e.g. try-py): try/except with %c% for body. JavaScript: try/catch + %c%.

Logging, tests, API routes

Structured log: %filltext% message, %fillmenu% level, %c% for extra. Jest/Pytest: describe + test, %filltext% name. Express/FastAPI: %fillmenu% method, %filltext% path.


Screenshot Workflow

Bug reports

Shortcut → select region → rectangle, arrows, text → copy → paste to Issue/Jira.

Docs

Capture code or UI → gradient + rounded corners + shadow → numbered circles + highlight → copy or save.

Code comparison

Scroll capture Before/After; Pin Before, highlight After in green/yellow.


Clipboard Scenarios

  • AI reply history: Copies go to history; search in clipboard window and paste; favorite important replies.
  • Snippet from clipboard: Copy code → clipboard window → “Create snippet” → abbreviation and group → reuse and sync.
  • Multi-step paste: Batch copy config; paste in order from clipboard (env vars, forms, migration).

Automation Scripts

Git (Shell / JS)

Quick commit: git add . + commit -m “%filltext&name=message%” + push. Feature branch: %filltext% type and name. Status: JS snippet with execSync(‘git status —short’).

Docker, scaffold, data

docker-clean (prune); init-node/init-python (mkdir + package manager + .gitignore); json-format with %cv% or {{clipboard}} → JSON.stringify(parsed, null, 2).


Cross-Project Reuse

Groups: e.g. ProjectA (prefix pa-), ProjectB (pb-), Common (no prefix). ExpandIn: Limit by app or directory. Microservices: one group per service (us-dev, os-dev), shared scripts (k8s-status, k8s-logs) in Common.


Efficiency Comparison

TaskTraditionalCodeExpanderGain
Complex prompt2–3 min~10 s↑ ~92%
Snippet reuse1 min~2 s↑ ~98%
Bug screenshot2 min (multiple tools)~20 s↑ ~83%
Find past reply3 min~5 s↑ ~97%
Run common script30 s~3 s↑ ~90%

More syntax: FillIn variables, Settings.
Last updated: 2026-01-29