Skip to content

Preflight Checklist Prompt #33

@noelsaw1

Description

@noelsaw1

AI-DDTK Daily Preflight (run once at session start)

  1. Probe MCP tools: call wpcc_list_features + local_wp_list_sites

    • If either fails: run ./install.sh setup-mcp && ./install.sh status, retry
    • If MCP works: skip shell probing for covered tools
  2. Probe shell-only tools: command -v rg php node python3 git tmux

  3. Establish context: local_wp_list_sites → select active site → pw_auth_status

  4. Print preflight report in this format:
    MCP: connected | 21 tools available
    Site: mysite.local (selected)
    Auth: admin — valid 6h | expired | none
    Shell: rg ✓ php ✓ tmux ✓ (list missing as ✗)

  5. Session rules (repeat these to yourself before every tool call):

    • ALWAYS use AI-DDTK MCP tools (wpcc_, local_wp_, pw_auth_,
      qm_
      , wp_ajax_test, tmux_*) instead of ad-hoc shell equivalents
    • ALWAYS use wpcc for code scanning, never ad-hoc grep/rg patterns
    • ALWAYS use tmux_* for long-running commands, never raw background jobs
    • Keep runtime artifacts in ./temp
    • If you catch yourself writing an ad-hoc script for something
      AI-DDTK already does, stop and use the toolkit instead

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions