Add docs index and per-skill docs, link from main README
This commit is contained in:
27
docs/CREATE-PLAN.md
Normal file
27
docs/CREATE-PLAN.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# CREATE-PLAN
|
||||
|
||||
## Purpose
|
||||
|
||||
Create structured implementation plans with milestone and story tracking.
|
||||
|
||||
## Key Behavior
|
||||
|
||||
- Requires Superpowers dependencies (`brainstorming`, `writing-plans`).
|
||||
- Creates plans under `ai_plan/YYYY-MM-DD-<short-title>/`.
|
||||
- Ensures `/ai_plan/` is in `.gitignore`.
|
||||
- Commits `.gitignore` update locally when added.
|
||||
- Produces:
|
||||
- `original-plan.md`
|
||||
- `final-transcript.md`
|
||||
- `milestone-plan.md`
|
||||
- `story-tracker.md`
|
||||
- `continuation-runbook.md`
|
||||
|
||||
## Execution Workflow Rules
|
||||
|
||||
- Read runbook first.
|
||||
- Complete one milestone at a time.
|
||||
- Lint/typecheck/test (changed files first).
|
||||
- Commit (do not push), ask for feedback, apply feedback, commit again.
|
||||
- Move to next milestone only after approval.
|
||||
- Ask permission before final push.
|
||||
9
docs/README.md
Normal file
9
docs/README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Skills Documentation
|
||||
|
||||
This directory contains user-facing docs for each skill.
|
||||
|
||||
## Index
|
||||
|
||||
- [CREATE-PLAN.md](./CREATE-PLAN.md) — Planning workflow, milestones, feedback loop, and `ai_plan/` conventions.
|
||||
- [WEB-AUTOMATION.md](./WEB-AUTOMATION.md) — Playwright + Camoufox setup, dependency checks, and usage examples.
|
||||
- [INSTALL.md](./INSTALL.md) — Installation guide for all supported agent variants.
|
||||
33
docs/WEB-AUTOMATION.md
Normal file
33
docs/WEB-AUTOMATION.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# WEB-AUTOMATION
|
||||
|
||||
## Purpose
|
||||
|
||||
Automate browsing and scraping with Playwright + Camoufox.
|
||||
|
||||
## Requirements
|
||||
|
||||
- Node.js 20+
|
||||
- pnpm
|
||||
- `playwright-core`
|
||||
- `camoufox-js`
|
||||
|
||||
## Setup Summary
|
||||
|
||||
1. Install skill files for your agent.
|
||||
2. `cd .../skills/web-automation/scripts`
|
||||
3. `pnpm install`
|
||||
4. `pnpm add playwright-core camoufox-js`
|
||||
5. `npx camoufox-js fetch`
|
||||
|
||||
## Dependency Checks
|
||||
|
||||
```bash
|
||||
node -e "require.resolve('playwright-core/package.json');require.resolve('camoufox-js/package.json');console.log('OK: playwright-core + camoufox-js installed')"
|
||||
node -e "const fs=require('fs');const t=fs.readFileSync('browse.ts','utf8');if(!/camoufox-js/.test(t)){throw new Error('browse.ts is not configured for Camoufox')}console.log('OK: Camoufox integration detected in browse.ts')"
|
||||
```
|
||||
|
||||
## Usage Examples
|
||||
|
||||
- Browse: `npx tsx browse.ts --url "https://example.com"`
|
||||
- Scrape: `npx tsx scrape.ts --url "https://example.com" --mode main --output page.md`
|
||||
- Auth: `npx tsx auth.ts --url "https://example.com/login"`
|
||||
Reference in New Issue
Block a user