Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
717 changes: 717 additions & 0 deletions .agents/skills/typescript-advanced-types/SKILL.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .claude/skills/github-actions-docs
1 change: 1 addition & 0 deletions .claude/skills/typescript-advanced-types
5 changes: 5 additions & 0 deletions .devcontainer/devcontainer-lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"features": {
"ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {
"version": "1.0.5",
"resolved": "ghcr.io/anthropics/devcontainer-features/claude-code@sha256:cfc2e7d3e9fd3b9b01f8d5cb158508a884c8c0ede2e23ed10f32dea5d4ffe69a",
"integrity": "sha256:cfc2e7d3e9fd3b9b01f8d5cb158508a884c8c0ede2e23ed10f32dea5d4ffe69a"
},
"ghcr.io/devcontainers-extra/features/act:1": {
"version": "1.0.15",
"resolved": "ghcr.io/devcontainers-extra/features/act@sha256:db4a2194930d1f7ec62822d4f600dd2fa4aff3c33b98cdb0b578b64ffb10924c",
Expand Down
9 changes: 6 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
"pnpmVersion": "11.0.8"
},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers-extra/features/pre-commit:2": {}
}

"ghcr.io/devcontainers-extra/features/pre-commit:2": {},
"ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {}
},
"mounts": [
"source=claude-code-config-${devcontainerId},target=/home/node/.claude,type=volume"
]
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
141 changes: 0 additions & 141 deletions .github/HOOKS.md

This file was deleted.

11 changes: 11 additions & 0 deletions .github/hooks/review-agents-at-stop.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"hooks": {
"Stop": [
{
"type": "command",
"command": "bash ./.github/hooks/scripts/stop-review-agents.sh",
"timeout": 10
}
]
}
}
4 changes: 2 additions & 2 deletions .github/hooks/scripts/pre-commit-oxc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -euo pipefail

# Shared formatter/linter entrypoint used by:
# - .pre-commit-config.yaml (local hook: oxc-format-and-lint)
# - .github/hooks/format-and-lint-after-edit.json (Copilot PostToolUse)
# - .github/hooks/format-and-lint-after-edit.json (PostToolUse)
# AI agents: keep both wiring points and this usage list in sync when behavior or paths change.

# pre-commit passes staged file paths as positional arguments.
Expand All @@ -14,7 +14,7 @@ fi

# Step 1: Format every matched file first.
# If formatting fails, the script exits immediately because of `set -e`.
pnpm exec oxfmt --write "$@"
pnpm exec oxfmt --write --no-error-on-unmatched-pattern "$@"

# Step 2: Build a list of files oxlint can analyze.
# We intentionally keep this separate from formatting so unsupported
Expand Down
14 changes: 0 additions & 14 deletions .github/hooks/scripts/session-start-docs.sh

This file was deleted.

29 changes: 29 additions & 0 deletions .github/hooks/scripts/stop-review-agents.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/usr/bin/env bash
set -euo pipefail

# Stop hook: prompts the agent to review AGENTS.md for any learnings from this session.
# Only triggers when there are uncommitted changes — skips read-only sessions.
#
# Used by:
# - .github/hooks/review-agents-at-stop.json (Stop)

if ! command -v git >/dev/null 2>&1; then
exit 0
fi

# Skip if no working-tree changes (read-only session or everything already committed).
if git diff --quiet 2>/dev/null && git diff --cached --quiet 2>/dev/null; then
exit 0
fi

cat <<'EOF'
{
"hookSpecificOutput": {
"hookEventName": "Stop",
"decision": "block",
"reason": "Before finishing: review AGENTS.md for any learnings from this session worth capturing.\n\nConsider:\n- New patterns, conventions, or gotchas discovered\n- Corrections to stale or inaccurate information\n- Non-obvious constraints or workflow steps that needed clarification\n- Anything that would have saved time if it had been documented at the start\n\nIf AGENTS.md is already up to date, output a brief confirmation and the session can end."
}
}
EOF

exit 0
10 changes: 0 additions & 10 deletions .github/hooks/session-start-docs.json

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/sync-readme-versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: sync-readme-versions

on:
push:
tags:
- 'v*'
workflow_dispatch:

jobs:
sync:
name: Sync action version references
if: ${{ github.repository == 'andykenward/github-actions-cloudflare-pages' }}
runs-on: ubuntu-latest
permissions:
contents: write
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
with:
ref: main
- uses: andykenward/github-actions/setup-pnpm@4975fa85f6e689743962bbb5dbac847aaa843edb #v3.0.1
with:
node-version: 24
- name: Sync action version references
run: pnpm run sync:readme
- name: Commit and push version reference updates
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add README.md delete/README.md .github/workflow-templates/deploy.yml .github/workflow-templates/delete.yml
git diff --staged --quiet || git commit -m "docs: update action version references [skip ci]"
git push
5 changes: 4 additions & 1 deletion .oxfmtrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@
"__generated__/gql/",
"__generated__/payloads/",
"__generated__/responses/",
".agents",
".cache",
".changeset/*.md"
".claude",
".changeset/*.md",
"skills-lock.json"
],
"printWidth": 80,
"semi": false,
Expand Down
10 changes: 6 additions & 4 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@
"node": true
},
"ignorePatterns": [
".vscode",
"__generated__",
".agents",
".claude",
".devcontainer",
".vscode",
"dist",
"node_modules",
"example",
"payload-examples",
"__generated__"
"node_modules",
"payload-examples"
],
"rules": {
"@typescript-eslint/await-thenable": "error",
Expand Down
Loading