Lewati ke konten
TakoAPI
Kembali ke skill

cursorkleosr

oleh kleosr

Cursor
โ€”Belum ada penilaian
Penilaian Anda

Ringkasan

Make AI Development Feel Natural in Cursor

Deskripsi

<div align="center">
  <img src="https://img.shields.io/badge/schema-1.2-blue?style=flat-square" />
  <img src="https://img.shields.io/badge/license-MIT-brightgreen?style=flat-square" />
  <img src="https://img.shields.io/badge/status-stable-2ea44f?style=flat-square" />
  <img src="https://img.shields.io/badge/built%20for-Cursor%20rules-111827?style=flat-square" />
</div>

<br />

<div align="center">
  <h1>cursorkleosr</h1>
  <p><strong>Agent memory that cannot be forgotten โ€” one always-on Cursor rule plus root markdown state.</strong></p>
  <p>Skills wait to be invoked. Rules load every session.<br />The agent reads your project state before it thinks โ€” no more starting from zero.</p>
</div>

<br />

---

## The Breakthrough

Most agent-memory setups are opt-in: a skill the agent must remember to call, a file the human must paste into chat. This one is **always-on**.

`.cursor/rules/workflow-memory.mdc` ships with `alwaysApply: true`, so Cursor injects the operating loop into every agent session automatically. The agent's first move is reading `workflow_state.md` โ€” before you ask for anything. When it finishes meaningful work, it writes state back. Memory stops being a feature you invoke and becomes a property of the repository.

## Setup

```bash
git clone https://github.com/kleosr/cursorkleosr.git
cd cursorkleosr
```

Open `project_config.md`, set your goals and stack. Open `workflow_state.md`, set `Phase: INIT โ€” READY`. Done โ€” no dependencies, no build step.

## Usage

There is nothing to invoke. Open the repo in Cursor and work:

- **Session start** โ€” the agent reads `workflow_state.md` and `project_config.md`, then reconstructs the next action on its own.
- **During work** โ€” one phase at a time: `ANALYZE โ†’ PREPARE โ†’ IMPLEMENT โ†’ VALIDATE`.
- **After meaningful change** โ€” the agent writes state back. No per-message noise.

Manual fallback, from any terminal:

```bash
cat workflow_state.md   # where are we?
cat project_config.md   # what are we building?
```

## Files

| File | Purpose |
|------|---------|
| `AGENTS.md` | Single source of truth agent handbook: Rules, Skills, Workflows, Memory |
| `.cursor/rules/workflow-memory.mdc` | Thin adapter importing `@AGENTS.md` for Cursor |
| `workflow_state.md` | Moving parts: current phase, plan, blockers, log |
| `project_config.md` | Slow-changing facts: goals, stack, patterns, constraints, changelog |
| `Instructions.md` | Human-facing reminder of the read โ†’ act โ†’ write loop |

## Workflow Loop

```
read state โ†’ read config โ†’ act โ†’ write state back
                     โ†“
            ANALYZE โ†’ PREPARE โ†’ IMPLEMENT โ†’ VALIDATE
```

```mermaid
graph LR
    S[Session Start] --> A[Read workflow_state.md];
    A --> B{Task Ready?};
    B -- Yes --> C[Process Next Task];
    B -- No --> D[Continue Current Work];
    D --> E[Execute Step];
    E --> F[Update workflow_state.md];
    F --> G{Validation Needed?};
    G -- Yes --> H[Run Checks];
    G -- No --> D;
    C --> I{More Tasks?};
    I -- Yes --> J[Reset Workspace];
    J --> K[Fresh Start];
    K --> A;
    I -- No --> L[Mark Complete];
    L --> M[Idle];
```

## Architecture

```
.
โ”œโ”€โ”€ .cursor/
โ”‚   โ””โ”€โ”€ rules/
โ”‚       โ””โ”€โ”€ workflow-memory.mdc  โ€” thin adapter importing @AGENTS.md
โ”œโ”€โ”€ AGENTS.md                    โ€” canonical agent handbook (Rules, Skills, Workflows, Memory)
โ”œโ”€โ”€ project_config.md            โ€” goals, stack, patterns, constraints, changelog
โ”œโ”€โ”€ workflow_state.md            โ€” phase, plan, blockers, log
โ”œโ”€โ”€ Instructions.md              โ€” human loop reminder
โ””โ”€โ”€ LICENSE                      โ€” MIT
```

Zero dependencies. No build step. Root markdown stays editable in any editor, diffable in any tool, and greppable from any terminal.

## Development

Documentation-only project. No tests, no compilation, no CI pipeline. Validate edits with:

```bash
git diff --check
```

## Why Markdown?

Plain text outlasts everything. No database, no schema migrations, no lock-in, no dependency chain. State you can read, diff, and grep from anywhere โ€” and a rule the agent cannot ignore.

## License

MIT. See [LICENSE](LICENSE).

Instalasi

Pasang skill dari https://github.com/kleosr/cursorkleosr

Skill ini belum dipublikasikan di registri ClawHub. Tempel prompt ke coding agent Anda โ€” Claude Code, Cursor, Codex โ€” dan skill-nya akan dipasang langsung dari repositori sumbernya.

Buka repositori

Tautan