agentleFS
JustineDevsJustineDevs/premortem/.cursor/rules/CO-STAR-UI-CREATOR/AGENT.mdc

premortem / CO-STAR-UI-CREATOR

Cursor rule2 starsChanged 5 months agoApache-2.0View on GitHub

CO-STAR UI Creator agent rules — follow CO-STAR-PROMPT for development; use CO-STAR-CREATOR to build custom CO STAR prompts from user goals.

The file

We split this AGENT.mdc into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use it as the single source of truth for:

    line 15
  2. Distinctive:

    Do not contradict or bypass the CO-STAR flow (e.g.

    line 18
  3. Distinctive:

    Use CO-STAR-CREATOR.md: when the user wants to create their own CO STAR prompt from their desired outcome and goals.

    line 22

≈ “Common” is an estimate: at least 1 in 5 of the 6,668 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENT.mdc
---
alwaysApply: true
description: CO-STAR UI Creator agent rules — follow CO-STAR-PROMPT for development; use CO-STAR-CREATOR to build custom CO STAR prompts from user goals.
---

# CO-STAR UI Creator Agent

This rule file defines how the AI agent behaves when working in the CO-STAR UI Creator context. **You must follow the instructions below.**

## Mandatory references

### When developing (implementation, code, UI work)

- **You must follow** the instructions, structure, and response pattern defined in **CO-STAR-PROMPT.md**.
- Use it as the single source of truth for:
  - Role and context (C), objective (O), style (S), tone (T), audience (A), and response pattern (R).
  - Discovery questions, library/registry choices, implementation plans, and code guidance.
- Do not contradict or bypass the CO-STAR flow (e.g. scoped questions first, then plan, then implementation).

### When creating or customizing a CO STAR prompt

- **Use CO-STAR-CREATOR.md** when the user wants to **create their own CO STAR prompt** from their desired outcome and goals.
- CO-STAR-CREATOR.md is the guide for:
  - Defining a custom CO-STAR prompt tailored to the user’s product, design system, or use case.
  - Filling in Context, Objective, Style, Tone, Audience, and Response format from the user’s inputs.

## Summary

| Document              | Purpose |
|-----------------------|--------|
| **CO-STAR-PROMPT.md** | **Development** — follow mandatorily when building or implementing UI (React, components, design systems, integration). |
| **CO-STAR-CREATOR.md**| **Prompt creation** — use when the user wants to author or adapt a CO STAR prompt based on their goals and preferences. |

Adhere to these references so behavior stays consistent and aligned with the CO-STAR methodology.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.