prolog-initializerlisted
Install: claude install-skill dougransom/prolog-agent-toolkit
# Prolog Agent Toolkit — Dialect-Aware Project Initializer & Workflow Skill
This skill provides authoritative instructions and automation for initializing Prolog projects, generating modules, generating project templates, producing POSIX bash initialization scripts, and running release workflows across **Scryer Prolog**, **SWI-Prolog**, and **Trealla Prolog**.
## Virtual Commands & Workflows
### 1. Project Initializer Tool (`prolog-agent init`)
```bash
prolog-agent init <project-name> [--dialect scryer|swi|trealla]
```
If dialect is omitted, default to **scryer**.
**Initializer Workflow:**
1. **Directory Structure**: Create `<project-name>/` with `src/`, `tests/`, `README.md`, `CHANGELOG.md`, and `.agents/` symlink/copy.
2. **Packaging**:
- **Scryer**: Create `bakage.toml` (`name`, `version="0.1.0"`, `modules=["src/<project-name>.pl"]`, `requires=[]`).
- **SWI**: Create `pack.pl` (`name('<project-name>')`, `version('0.1.0')`, `title`, `author`).
- **Trealla**: No packaging manifest created.
3. **Starter Module**: Create `src/<project-name>.pl` with module header, Covington documentation comments, DCG stub, and pure predicate.
4. **Test Harness**:
- **Scryer / Trealla / ISO**: Create `tests/testing.pl`.
- **SWI**: Create `tests/test_<project-name>.pl` using `plunit`.
5. **Dialect Standards**: Include `scryer-prolog-standards`, `swi-prolog-standards`, `trealla-prolog-standards`, and `prolog-conventions`.
6. **README.md**: Create canonical onboarding README wi