بنقرة واحدة
chore-create
Create reusable chore — save repeatable tasks like deploy, publish, push to docs/chore/.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create reusable chore — save repeatable tasks like deploy, publish, push to docs/chore/.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Long-running iterative development loops. Run arbitrarily-long tasks without diluting model attention. Triggers: ralph, ralph loop, iterative loop, long-running task, development loop.
Full compactor reference — tool parameters, anti-patterns, sandbox languages, context budget, workflows.
Diagnostics — validate config, session DB, runtimes, and troubleshoot compactor issues.
Context management — compact session, recall history, run code, search content.
Stats display — context savings, session metrics, compactions, sandbox and recall/search counters.
Helps you use the /unipi:btw side-conversation workflow effectively. Use when you want to think in parallel, ask side questions without interrupting ongoing work, or inject a side thread back into the main agent.
| name | chore-create |
| description | Create reusable chore — save repeatable tasks like deploy, publish, push to docs/chore/. |
Create reusable chore definitions for repeatable tasks. Save to .unipi/docs/chore/ for future execution.
This skill MAY: read codebase, ask questions, write chore to .unipi/docs/chore/.
This skill MAY NOT: edit code, execute the chore, run tests, deploy.
This is definition only — not execution.
/unipi:chore-create <string(greedy)>
string(greedy) — description of the chore to create (e.g., "push to github main", "publish npm package").unipi/docs/chore/).unipi/docs/chore/<chore-name>.md
Read the chore description
Ask clarifying questions (one at a time):
Determine chore type:
Exit: Chore understood, steps clear.
Plan the chore:
push-github-main, publish-npm)Exit: Structure designed.
Create .unipi/docs/chore/<chore-name>.md:
---
name: {chore-name}
type: chore
description: {One-line description}
created: YYYY-MM-DD
---
# {Chore Name}
{Description of what this chore does and when to use it}
## Pre-conditions
Before running this chore, ensure:
- [ ] {Pre-condition 1}
- [ ] {Pre-condition 2}
## Steps
### Step 1: {Step Name}
{What to do}
```bash
{command}
Expected: {what should happen}
{What to do}
{command}
Expected: {what should happen}
{How to verify success}
{verification command}
Expected: {success indicator}
If any step fails:
After successful completion:
{Any additional context, gotchas, or tips}
### Phase 4: Self-Review
Before presenting:
1. Are all steps clear and executable?
2. Are commands correct and tested?
3. Is failure handling comprehensive?
4. Would someone else be able to run this?
### Phase 5: Present & Handoff
Present to user:
> "Chore created at `.unipi/docs/chore/<chore-name>.md`"
>
> **Steps:** {count} steps
> **Type:** {deploy/publish/git/etc.}
Then suggest:
/unipi:chore-execute chore:
Or if more chores needed:
> "Need to create more chores?"
---
## Chore Naming Convention
Use kebab-case with action-verb prefix:
| Pattern | Example |
|---------|---------|
| `push-{target}` | `push-github-main`, `push-github-develop` |
| `publish-{registry}` | `publish-npm`, `publish-docker` |
| `deploy-{env}` | `deploy-staging`, `deploy-production` |
| `run-{suite}` | `run-unit-tests`, `run-e2e-tests` |
| `sync-{service}` | `sync-translations`, `sync-config` |
| `backup-{target}` | `backup-database`, `backup-files` |
| `release-{type}` | `release-patch`, `release-minor` |
---
## Examples
### Push to GitHub Main
/unipi:chore-create push current branch to github main
Creates `.unipi/docs/chore/push-github-main.md`:
```markdown
---
name: push-github-main
type: chore
description: Push current branch changes to GitHub main
created: 2026-04-28
---
# Push to GitHub Main
Push committed changes from current branch to GitHub main branch.
## Pre-conditions
- [ ] All changes committed
- [ ] On correct branch
- [ ] Tests passing
## Steps
### Step 1: Verify clean working tree
```bash
git status
Expected: "nothing to commit, working tree clean"
git push origin main
Expected: Success with no errors
git log --oneline -1
Expected: Latest commit matches remote
If push rejected:
git pull origin main
### Publish to NPM
/unipi:chore-create publish package to npm registry
Creates `.unipi/docs/chore/publish-npm.md`:
```markdown
---
name: publish-npm
type: chore
description: Publish package to npm registry
created: 2026-04-28
---
# Publish to NPM
Publish the current package version to npm registry.
## Pre-conditions
- [ ] Logged in to npm (`npm whoami`)
- [ ] Version bumped in package.json
- [ ] All changes committed
- [ ] Tests passing
## Steps
### Step 1: Verify npm login
```bash
npm whoami
Expected: Your npm username
npm test
Expected: All tests passing
npm run build
Expected: Build succeeds
npm publish
Expected: Package published successfully
npm view {package-name} version
Expected: Matches package.json version
If publish fails:
npm whoami
---
## Notes
- Chores are reusable — create once, execute many times
- Keep steps clear and executable by anyone
- Include verification steps for confidence
- Document failure scenarios for resilience
- Chores are stored in `.unipi/docs/chore/` for discoverability