Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

chore: clean up local-only docs

Tw93774716dfbc0d
diff --git a/.claude/skills/code-review/SKILL.md b/.claude/skills/code-review/SKILL.md
deleted file mode 100644
index c2f9491b..00000000
--- a/.claude/skills/code-review/SKILL.md
+++ /dev/null
@@ -1,48 +0,0 @@
----
-name: code-review
-description: Pake project adapter for Waza check/code-review. Use for TypeScript CLI, Rust/Tauri, release artifact, and CI review.
-version: 1.1.0
-allowed-tools:
- - Bash
- - Read
- - Grep
- - Glob
-disable-model-invocation: true
----
-
-# Pake Code Review Adapter
-
-Use Waza `/check` for the generic review method. This adapter adds Pake-specific commands, hard stops, and artifact rules.
-
-## Pake-Specific Hard Stops
-
-- [ ] Changes under `bin/` rebuild and commit `dist/cli.js` with `pnpm run cli:build`.
-- [ ] Release version bumps keep `package.json`, `src-tauri/Cargo.toml`, and `src-tauri/tauri.conf.json` in sync.
-- [ ] No new `tauriConf: any` or other untyped config objects; use `PakeTauriConfig`.
-- [ ] No user-reachable `panic!` or `.unwrap()` on config, CLI, or event paths.
-- [ ] Silent `catch {}` blocks surface the real error through `logger.warn`.
-- [ ] New helper in `bin/utils/` or `bin/helpers/` has a matching `tests/unit/<basename>.test.ts`.
-- [ ] Binary parsers have a round-trip test, not only builder assertions.
-
-## Quick Review Commands
-
-```bash
-# Get PR diff
-gh pr diff
-
-# Format check
-pnpm run format:check
-
-# Run unit tests (fast, sub-second)
-npx vitest run
-
-# Full suite without the slow real build
-pnpm test -- --no-build
-
-# Build CLI and catch TypeScript errors
-pnpm run cli:build
-```
-
-## Review Output Format
-
-Follow Waza `/check`: findings first, ordered by severity, with tight file/line references. Keep summaries brief.
diff --git a/.claude/skills/github-ops/SKILL.md b/.claude/skills/github-ops/SKILL.md
deleted file mode 100644
index 0f610371..00000000
--- a/.claude/skills/github-ops/SKILL.md
+++ /dev/null
@@ -1,100 +0,0 @@
----
-name: github-ops
-description: GitHub issue, PR, and release operations via gh CLI. Not for code review or release builds.
-version: 1.0.0
-allowed-tools:
- - Bash
- - Read
----
-
-# GitHub Operations Skill
-
-Use this skill when working with GitHub issues, PRs, and releases for Pake.
-
-## Golden Rule
-
-**ALWAYS use `gh` CLI** for GitHub operations. Never use the web UI or make assumptions about state — always query first.
-
-## Issue Operations
-
-```bash
-# View a specific issue
-gh issue view 123
-
-# List open issues
-gh issue list --state open
-
-# List issues with a label
-gh issue list --label bug
-
-# Add a comment (only with explicit user request)
-gh issue comment 123 --body "..."
-
-# Close an issue
-gh issue close 123
-```
-
-## PR Operations
-
-```bash
-# List open PRs
-gh pr list
-
-# View a PR
-gh pr view 456
-
-# Check PR status and CI checks
-gh pr checks 456
-
-# View PR diff
-gh pr diff 456
-
-# Read inline review comments on a PR
-gh api repos/tw93/Pake/pulls/456/comments
-
-# Merge a PR (only with explicit user request)
-gh pr merge 456 --squash
-
-# Create a PR
-gh pr create --title "..." --body "..."
-```
-
-## Release Operations
-
-```bash
-# List releases
-gh release list
-
-# View a specific release
-gh release view V3.10.0
-
-# Check CI runs for a tag
-gh run list --workflow=release.yml
-
-# Watch a running CI job
-gh run watch
-
-# View CI run logs
-gh run view <run-id> --log
-```
-
-## CI / Workflow Operations
-
-```bash
-# List recent workflow runs
-gh run list
-
-# Filter by workflow
-gh run list --workflow=release.yml
-gh run list --workflow=quality-and-test.yml
-
-# Re-run failed jobs
-gh run rerun <run-id> --failed-only
-```
-
-## Safety Rules
-
-1. **ALWAYS** draft the reply first and show it to the user for approval before calling any write operation (`gh issue comment`, `gh pr comment`, `gh pr merge`, `gh issue close`, `gh release create`, etc.). Approval of one draft does not extend to future comments.
-2. **NEVER** merge, close, or modify without explicit user request.
-3. **ALWAYS** query current state before taking action — never assume.
-4. Before replying to an issue or PR, read the body to confirm the author's language; match their language in the reply. This applies to the author, not to arbitrary thread commenters.
diff --git a/.claude/skills/release/SKILL.md b/.claude/skills/release/SKILL.md
deleted file mode 100644
index b184b3ad..00000000
--- a/.claude/skills/release/SKILL.md
+++ /dev/null
@@ -1,69 +0,0 @@
----
-name: release
-description: Prepare, validate, and publish a Pake release. Not for version bumps without release intent.
-version: 1.0.0
-allowed-tools:
- - Bash
- - Read
- - Grep
- - Glob
-disable-model-invocation: true
----
-
-# Release Skill
-
-Use this skill when preparing or executing a Pake release.
-
-## Version Files
-
-Three files must be updated in sync — never update one without the others:
-
-- `package.json` → `"version"`
-- `src-tauri/Cargo.toml` → `version` under `[package]`
-- `src-tauri/tauri.conf.json` → `"version"`
-
-## Release Checklist
-
-### Pre-Release
-
-1. [ ] Confirm the new version number (check current: `cat package.json | jq .version`)
-2. [ ] Update all three version files above
-3. [ ] Run `pnpm run format` — must pass cleanly
-4. [ ] Run `pnpm test` — must pass cleanly. If the release workflow step fails with `pnpm install ... exit code 1` against the CN mirror, re-run once; a single transient flake is acceptable, two consecutive failures is not.
-5. [ ] Run `pnpm run cli:build` — Rollup + TS must pass (catches type errors that `format` misses).
-6. [ ] No uncommitted changes: `git status`
-7. [ ] Commit version bump with message: `chore: bump version to VX.X.X`
-
-### Tagging (triggers CI)
-
-```bash
-git tag -a VX.X.X -m "Release VX.X.X"
-git push origin VX.X.X
-```
-
-Tag format: uppercase `V` prefix (e.g. `V3.11.0`), not `v3.11.0`.
-
-### Post-Tag Verification
-
-1. [ ] Confirm CI triggered: `gh run list --workflow=release.yml`
-2. [ ] Watch CI status: `gh run watch`
-3. [ ] Verify GitHub Release was created: `gh release view VX.X.X`
-4. [ ] Publish to npm (manual): `npm publish`
-
-## Build Commands (local only)
-
-```bash
-# Current platform
-pnpm build
-
-# macOS universal binary
-pnpm build:mac
-```
-
-Cross-platform builds (Windows/Linux) are handled by CI, not locally.
-
-## Safety Rules
-
-1. **NEVER** auto-commit or auto-push without explicit user request
-2. **NEVER** tag before all checks pass
-3. **ALWAYS** verify the three version files are in sync before tagging
diff --git a/.gitignore b/.gitignore
index f3ef36fd..28597bc3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,12 +21,14 @@
*.sw?
*.tmp
# Local AI assistant docs
-AGENTS.override.md
+CLAUDE.md
CLAUDE.local.md
+AGENTS.md
+AGENTS.override.md
+.claude/
.agents/settings.local.json
# Editor directories and files
# Logs
-.claude/settings.local.json
AGENT.md
dist
dist-ssr