[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EETM0ANRPZXCDZHSREK4G1":3,"skill-same:01M7EETM0ANRPZXCDZHSREK4G1":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7EETM0ANRPZXCDZHSREK4G1","absurd",null,"Debug and operate Absurd durable workflows with absurdctl. Use when working with Absurd queues, tasks, runs, events, retries, schema setup, or when a user wants to inspect, spawn, retry, cancel, or wake workflows.","prdlk\u002Fskills","prdlk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3804558?v=4","01M7EETDE4A6NQTJ8ZD0DHAMF3","Prad Nukala","01M7EETDENH4A0KC0NG8TQJHW2",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fprdlk\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fabsurd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: absurd\ndescription: Debug and operate Absurd durable workflows with absurdctl. Use when working with Absurd queues, tasks, runs, events, retries, schema setup, or when a user wants to inspect, spawn, retry, cancel, or wake workflows.\nlicense: Apache-2.0\n---\n\n# Absurd\n\nUse this skill when the project uses **Absurd**, the Postgres-native durable workflow engine, or when the user mentions **`absurdctl`**, queues, durable tasks, runs, retries, sleeping tasks, or events.\n\n## Tiny mental model\n\n- A **queue** is a namespace of Absurd tables (`t_`, `r_`, `c_`, `e_`, `w_`).\n- A **task** is the durable workflow instance.\n- A **run** is one execution attempt of a task.\n- A **step** is a checkpoint. Completed step results are stored as JSON.\n- **Sleeping** tasks are usually waiting for time or an event.\n- **Events** wake waiting tasks. Event payloads are cached; first emit wins.\n\nImportant distinction:\n\n- `task_id` = the whole workflow across all attempts\n- `run_id` = one specific execution attempt\n\n## First: make sure `absurdctl` works\n\nIf `absurdctl` is not on `PATH`, check whether you are inside a repo checkout and, if so, use:\n\n```bash\nexport PATH=\"$PWD:$PATH\"\n```\n\nAbsurd connection precedence is:\n\n```text\n--database > ABSURD_DATABASE_URL > PGDATABASE > postgresql:\u002F\u002Flocalhost\u002Fabsurd\n```\n\nFor non-URI connections, `PGHOST`, `PGPORT`, `PGUSER`, and `PGPASSWORD` are also honored.\n\n## Default debugging workflow\n\nPrefer **`absurdctl` state inspection before source inspection**. Usually you do **not** need to read application code first.\n\nIf the user explicitly asks you to use **`absurdctl`** to inspect or fix a workflow, do that first instead of starting with `rg` \u002F source browsing.\n\nWhen the user wants to debug a task, start with these commands in order:\n\n### 1) Discover queues\n\n```bash\nabsurdctl list-queues\n```\n\n### 2) Inspect recent activity in the likely queue\n\n```bash\nabsurdctl list-tasks --queue=default --limit=20\n```\n\nNotes:\n- `list-tasks` defaults to 50 rows if `--limit` is omitted.\n- Useful statuses: `pending`, `running`, `sleeping`, `completed`, `failed`, `cancelled`.\n\n### 3) Focus on failures or sleepers\n\n```bash\nabsurdctl list-tasks --queue=default --status=failed --limit=20\nabsurdctl list-tasks --queue=default --status=sleeping --limit=20\n```\n\n### 4) Inspect one workflow or one attempt in detail\n\n```bash\nabsurdctl dump-task --task-id=\u003Ctask-id>\nabsurdctl dump-task --run-id=\u003Crun-id>\n```\n\n`dump-task` is the most important inspection command. It shows things like:\n- task name, params, and headers\n- retry settings and attempts\n- checkpointed step state\n- waits \u002F events \u002F sleep state\n- final result or failure\n\n## How to reason about common states\n\n### If a task is `failed`\n\n1. `dump-task --task-id=\u003Ctask-id>`\n2. Read the failure and the last successful checkpoints.\n3. If needed, inspect the most recent attempt with `--run-id`.\n4. Search the code for the task implementation by task name.\n5. Only then decide whether to retry.\n\n### If a task is `sleeping`\n\n1. `dump-task --task-id=\u003Ctask-id>`\n2. Look for the wait reason:\n   - sleeping until a timestamp\n   - waiting for an event name\n3. If it is waiting for an event and the user wants it resumed, emit that event.\n\n### If a task is `running`\n\n1. `dump-task --task-id=\u003Ctask-id>`\n2. Look at existing checkpoints to see how far it got.\n3. If the user suspects a stuck worker, inspect the worker process \u002F application logs too.\n\n### About workers\n\nDo not assume you need to start or modify a worker.\n\n- If a spawned task moves from `pending` to `sleeping`, `running`, or `completed`, a worker is already active.\n- If tasks remain `pending`, then investigate whether a worker for that queue is actually running.\n- Only inspect Python \u002F TypeScript runtime details when the task state suggests a worker problem or the user asks for code changes.\n\n### If you need the implementation\n\nAfter you know the task name, search the codebase for its registration.\n\nTypeScript \u002F JavaScript:\n\n```bash\nrg -n \"registerTask\\(|name:\\s*['\\\"]\u003Ctask-name>['\\\"]\" .\n```\n\nPython:\n\n```bash\nrg -n \"register_task\\(|@.*register_task|['\\\"]\u003Ctask-name>['\\\"]\" .\n```\n\nIf the task is waiting for an event, also search for the event name.\n\n## Common actions\n\n### Spawn work\n\nUse `-P key=value` for strings and `-P key:=json` for typed JSON values.\n\n```bash\nabsurdctl spawn-task my-task -q default -P foo=bar\nabsurdctl spawn-task my-task -q default -P count:=42 -P enabled:=true\nabsurdctl spawn-task my-task -q default -P user.name=Alice -P user.age:=30\n```\n\nUse `--params` when the user already has a JSON object:\n\n```bash\nabsurdctl spawn-task my-task -q default --params '{\"foo\":\"bar\",\"count\":42}'\n```\n\n### Retry failed work\n\n```bash\nabsurdctl retry-task \u003Ctask-id>\nabsurdctl retry-task \u003Ctask-id> --max-attempts 5\nabsurdctl retry-task -q default \u003Ctask-id> --spawn-new\n```\n\nGuidance:\n- plain `retry-task` retries the existing task\n- `--spawn-new` creates a brand-new task with the original inputs\n- prefer understanding the failure before retrying\n\n### Cancel work\n\n```bash\nabsurdctl cancel-task \u003Ctask-id>\nabsurdctl cancel-task -q default \u003Ctask-id>\n```\n\n### Wake waiting tasks by emitting an event\n\n```bash\nabsurdctl emit-event order.completed -q default -P orderId=123\nabsurdctl emit-event approval.granted:42 -q default -P approved:=true\n```\n\nIf the event payload should be structured JSON:\n\n```bash\nabsurdctl emit-event shipment.packed:42 -q default --payload '{\"trackingNumber\":\"XYZ\"}'\n```\n\n### Schema setup \u002F migrations\n\nUse these on a blank or controlled database, or when the user explicitly asks:\n\n```bash\nabsurdctl init\nabsurdctl schema-version\nabsurdctl migrate\nabsurdctl create-queue default\n```\n\n## Safe operating rules\n\nBe careful with state-changing commands. Unless the user clearly wants them, avoid running these blindly on a shared or production database:\n\n- `init`\n- `migrate`\n- `create-queue`\n- `drop-queue`\n- `cleanup`\n- `cancel-task`\n- `retry-task`\n- `emit-event`\n- `spawn-task`\n\nIf the environment is ambiguous, ask which database \u002F queue is safe to operate on.\n\n## Good copy-paste playbooks\n\n### Debug the latest failures in `default`\n\n```bash\nabsurdctl list-queues\nabsurdctl list-tasks --queue=default --status=failed --limit=20\nabsurdctl dump-task --task-id=\u003Ctask-id>\n```\n\n### Find sleepers and wake one\n\n```bash\nabsurdctl list-tasks --queue=default --status=sleeping --limit=20\nabsurdctl dump-task --task-id=\u003Ctask-id>\nabsurdctl emit-event \u003Cevent-name> -q default -P key=value\n```\n\n### Reproduce by spawning a task, then inspect it\n\n```bash\nabsurdctl spawn-task my-task -q default -P foo=bar\nabsurdctl list-tasks --queue=default --task-name=my-task --limit=5\nabsurdctl dump-task --task-id=\u003Ctask-id>\n```\n\nFast path when the user says “spawn a task and debug it”:\n\n```bash\nabsurdctl spawn-task my-task -q default -P foo=bar\nabsurdctl list-tasks --queue=default --task-name=my-task --limit=5\nabsurdctl dump-task --task-id=\u003Ctask-id>\n# then either:\nabsurdctl emit-event \u003Cevent-name> -q default -P key=value\n# or:\nabsurdctl retry-task \u003Ctask-id>\n```\n\n## Extra reference\n\n- Use `absurdctl \u003Ccommand> --help` for full options.\n- `dump-task --task-id` is usually the best starting point once you know the task.\n- Checkpointed step results are durable JSON state; code outside steps may execute multiple times across retries.\n","# Absurd\n\nUse this skill when the project uses **Absurd**, the Postgres-native durable workflow engine, or when the user mentions **`absurdctl`**, queues, durable tasks, runs, retries, sleeping tasks, or events.\n\n## Tiny mental model\n\n- A **queue** is a namespace of Absurd tables (`t_`, `r_`, `c_`, `e_`, `w_`).\n- A **task** is the durable workflow instance.\n- A **run** is one execution attempt of a task.\n- A **step** is a checkpoint. Completed step results are stored as JSON.\n- **Sleeping** tasks are usually waiting for time or an event.\n- **Events** wake waiting tasks. Event payloads are cached; first emit wins.\n\nImportant distinction:\n\n- `task_id` = the whole workflow across all attempts\n- `run_id` = one specific execution attempt\n\n## First: make sure `absurdctl` works\n\nIf `absurdctl` is not on `PATH`, check whether you are inside a repo checkout and, if so, use:\n\n```bash\nexport PATH=\"$PWD:$PATH\"\n```\n\nAbsurd connection precedence is:\n\n```text\n--database > ABSURD_DATABASE_URL > PGDATABASE > postgresql:\u002F\u002Flocalhost\u002Fabsurd\n```\n\nFor non-URI connections, `PGHOST`, `PGPORT`, `PGUSER`, and `PGPASSWORD` are also honored.\n\n## Default debugging workflow\n\nPrefer **`absurdctl` state inspection before source inspection**. Usually you do **not** need to read application code first.\n\nIf the user explicitly asks you to use **`absurdctl`** to inspect or fix a workflow, do that first instead of starting with `rg` \u002F source browsing.\n\nWhen the user wants to debug a task, start with these commands in order:\n\n### 1) Discover queues\n\n```bash\nabsurdctl list-queues\n```\n\n### 2) Inspect recent activity in the likely queue\n\n```bash\nabsurdctl list-tasks --queue=default --limit=20\n```\n\nNotes:\n- `list-tasks` defaults to 50 rows if `--limit` is omitted.\n- Useful statuses: `pending`, `running`, `sleeping`, `completed`, `failed`, `cancelled`.\n\n### 3) Focus on failures or sleepers\n\n```bash\nabsurdctl list-tasks --queue=default --status=failed --limit=20\nabsurdctl list-tasks --queue=default --status=sleeping --limit=20\n```\n\n### 4) Inspect one workflow or one attempt in detail\n\n```bash\nabsurdctl dump-task --task-id=\u003Ctask-id>\nabsurdctl dump-task --run-id=\u003Crun-id>\n```\n\n`dump-task` is the most important inspection command. It shows things like:\n- task name, params, and headers\n- retry settings and attempts\n- checkpointed step state\n- waits \u002F events \u002F sleep state\n- final result or failure\n\n## How to reason about common states\n\n### If a task is `failed`\n\n1. `dump-task --task-id=\u003Ctask-id>`\n2. Read the failure and the last successful checkpoints.\n3. If needed, inspect the most recent attempt with `--run-id`.\n4. Search the code for the task implementation by task name.\n5. Only then decide whether to retry.\n\n### If a task is `sleeping`\n\n1. `dump-task --task-id=\u003Ctask-id>`\n2. Look for the wait reason:\n   - sleeping until a timestamp\n   - waiting for an event name\n3. If it is waiting for an event and the user wants it resumed, emit that event.\n\n### If a task is `running`\n\n1. `dump-task --task-id=\u003Ctask-id>`\n2. Look at existing checkpoints to see how far it got.\n3. If the user suspects a stuck worker, inspect the worker process \u002F application logs too.\n\n### About workers\n\nDo not assume you need to start or modify a worker.\n\n- If a spawned task moves from `pending` to `sleeping`, `running`, or `completed`, a worker is already active.\n- If tasks remain `pending`, then investigate whether a worker for that queue is actually running.\n- Only inspect Python \u002F TypeScript runtime details when the task state suggests a worker problem or the user asks for code changes.\n\n### If you need the implementation\n\nAfter you know the task name, search the codebase for its registration.\n\nTypeScript \u002F JavaScript:\n\n```bash\nrg -n \"registerTask\\(|name:\\s*['\\\"]\u003Ctask-name>['\\\"]\" .\n```\n\nPython:\n\n```bash\nrg -n \"register_task\\(|@.*register_task|['\\\"]\u003Ctask-name>['\\\"]\" .\n```\n\nIf the task is waiting for an event, also search for the event name.\n\n## Common actions\n\n### Spawn work\n\nUse `-P key=value` for strings and `-P key:=json` for typed JSON values.\n\n```bash\nabsurdctl spawn-task my-task -q default -P foo=bar\nabsurdctl spawn-task my-task -q default -P count:=42 -P enabled:=true\nabsurdctl spawn-task my-task -q default -P user.name=Alice -P user.age:=30\n```\n\nUse `--params` when the user already has a JSON object:\n\n```bash\nabsurdctl spawn-task my-task -q default --params '{\"foo\":\"bar\",\"count\":42}'\n```\n\n### Retry failed work\n\n```bash\nabsurdctl retry-task \u003Ctask-id>\nabsurdctl retry-task \u003Ctask-id> --max-attempts 5\nabsurdctl retry-task -q default \u003Ctask-id> --spawn-new\n```\n\nGuidance:\n- plain `retry-task` retries the existing task\n- `--spawn-new` creates a brand-new task with the original inputs\n- prefer understanding the failure before retrying\n\n### Cancel work\n\n```bash\nabsurdctl cancel-task \u003Ctask-id>\nabsurdctl cancel-task -q default \u003Ctask-id>\n```\n\n### Wake waiting tasks by emitting an event\n\n```bash\nabsurdctl emit-event order.completed -q default -P orderId=123\nabsurdctl emit-event approval.granted:42 -q default -P approved:=true\n```\n\nIf the event payload should be structured JSON:\n\n```bash\nabsurdctl emit-event shipment.packed:42 -q default --payload '{\"trackingNumber\":\"XYZ\"}'\n```\n\n### Schema setup \u002F migrations\n\nUse these on a blank or controlled database, or when the user explicitly asks:\n\n```bash\nabsurdctl init\nabsurdctl schema-version\nabsurdctl migrate\nabsurdctl create-queue default\n```\n\n## Safe operating rules\n\nBe careful with state-changing commands. Unless the user clearly wants them, avoid running these blindly on a shared or production database:\n\n- `init`\n- `migrate`\n- `create-queue`\n- `drop-queue`\n- `cleanup`\n- `cancel-task`\n- `retry-task`\n- `emit-event`\n- `spawn-task`\n\nIf the environment is ambiguous, ask which database \u002F queue is safe to operate on.\n\n## Good copy-paste playbooks\n\n### Debug the latest failures in `default`\n\n```bash\nabsurdctl list-queues\nabsurdctl list-tasks --queue=default --status=failed --limit=20\nabsurdctl dump-task --task-id=\u003Ctask-id>\n```\n\n### Find sleepers and wake one\n\n```bash\nabsurdctl list-tasks --queue=default --status=sleeping --limit=20\nabsurdctl dump-task --task-id=\u003Ctask-id>\nabsurdctl emit-event \u003Cevent-name> -q default -P key=value\n```\n\n### Reproduce by spawning a task, then inspect it\n\n```bash\nabsurdctl spawn-task my-task -q default -P foo=bar\nabsurdctl list-tasks --queue=default --task-name=my-task --limit=5\nabsurdctl dump-task --task-id=\u003Ctask-id>\n```\n\nFast path when the user says “spawn a task and debug it”:\n\n```bash\nabsurdctl spawn-task my-task -q default -P foo=bar\nabsurdctl list-tasks --queue=default --task-name=my-task --limit=5\nabsurdctl dump-task --task-id=\u003Ctask-id>\n# then either:\nabsurdctl emit-event \u003Cevent-name> -q default -P key=value\n# or:\nabsurdctl retry-task \u003Ctask-id>\n```\n\n## Extra reference\n\n- Use `absurdctl \u003Ccommand> --help` for full options.\n- `dump-task --task-id` is usually the best starting point once you know the task.\n- Checkpointed step results are durable JSON state; code outside steps may execute multiple times across retries.\n",{"name":5,"license":15,"description":7},"main","e589c11f31bb6bd75b405779b71494d264930541",".github\u002Fskills\u002Fabsurd",0,"https:\u002F\u002Fgithub.com\u002Fprdlk\u002Fskills","https:\u002F\u002Fgithub.com\u002Fprdlk","https:\u002F\u002Fprad.nu","2026-10-18 01:08:14",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add prdlk\u002Fskills --skill absurd",{"tool":38,"command":39},"bunx","bunx skills add prdlk\u002Fskills --skill absurd",{"tool":41,"command":42},"pnpm","pnpm dlx skills add prdlk\u002Fskills --skill absurd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fprdlk\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fabsurd\u002FSKILL.md",true,[],[47,56,64,71,79],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":52,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7EF0KJPDH6FENJ5BC7Z09MA","stop-slop","Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.","MIT","https:\u002F\u002Fgithub.com\u002Fprdlk\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fstop-slop\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fprdlk\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fstop-slop\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":60,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7EEZXR8EKD6MQZGMRCR6T1S","rust-skills","Comprehensive Rust coding guidelines with 265 rules across 26 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership, error handling, async patterns, concurrency, unsafe code, API design, memory optimization, performance, numeric safety, conversions, serde, pattern matching, macros, closures, observability, testing, and common anti-patterns. Invoke with \u002Frust-skills.","https:\u002F\u002Fgithub.com\u002Fprdlk\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frust-skills\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fprdlk\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frust-skills\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7EEZRGRVPHG0KDW4XYVGQPT","rust-best-practices","Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook. Use this skill when: (1) writing new Rust code or functions, (2) reviewing or refactoring existing Rust code, (3) deciding between borrowing vs cloning or ownership patterns, (4) implementing error handling with Result types, (5) optimizing Rust code for performance, (6) writing tests or documentation for Rust projects.","https:\u002F\u002Fgithub.com\u002Fprdlk\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frust-best-practices\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7EEY75GBDHFCQ3PV5W26QBY","pr-lens","WHAT: Draws a code change or part of a codebase as an animated architecture or data-flow diagram, on its own or in a pull request. WHEN: asked to diagram, visualise or explain a change or a system, or when a pull request should carry a diagram. KEYWORDS: PR Lens, diagram, architecture, data flow, visualise, visualize, pull request","https:\u002F\u002Fgithub.com\u002Fprdlk\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpr-lens\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fprdlk\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpr-lens\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":51,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7EEWE61G8D2RQS7EYDS6MCA","golang-pro","Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming, microservices architecture, or high-performance systems. Invoke for goroutines, channels, Go generics, gRPC integration, CLI tools, benchmarks, or table-driven testing.","https:\u002F\u002Fgithub.com\u002Fprdlk\u002Fskills\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgolang-pro\u002FSKILL.md",[],[]]