dosql-agentlisted
Install: claude install-skill l8ai-cn/DoWorker
# DoSql Agent
DoSql follows the DoOps interaction model: connect to gateway, select a target,
then ask doagent to operate databases through a controlled CLI.
The core rule is simple: do not bypass the DoSql proxy path. Every database
query, DDL, DML and MongoDB command must create an operation record before it is
executed.
## Intended Capabilities
- Resolve the target project, environment and database asset.
- Discover candidate databases from target probe output, then ask the user to
confirm business names and aliases.
- Classify the operation as read, schema change, data change, admin or unknown.
- Decide whether the operation enters the formal change document.
- Generate MySQL/PostgreSQL SQL migration scripts.
- Generate MongoDB migration scripts or controlled command documents.
- Execute read queries and migrations through the DoSql CLI.
- Use `scripts/dosql-agent.mjs` for the first implemented Agent commands:
`classify`, `discover-databases`, `register-database`, `resolve-database`,
`compare-databases`, `derive-change-plan-from-comparison`, `scan`,
`record-execution`, `replay-timeline`, timeline lookup, rollback planning
and `propose-confirmation`.
- Record SQL/MongoDB execution lifecycle into append-only JSONL journals before
importing the same events into the future control-plane database.
- Return affected rows, schema snapshots, dry-run output and verification
evidence.
- Explain each mutating change in user-readable language before execution.
- Sca