903-story-template

903-story-template is a cursor rule for Cursor from synaptiai/prompt-decorators. It costs 828 tokens per session, scanned A, original, Apache-2.0.

A rule for creating and updating story files—structured documents that describe development work, context, tasks, and progress.

In plain words
What is it for?
Use it when writing story files to record the user need, background, estimates, constraints, implementation tasks, tests, and completion history.
Why use it?
It keeps stories consistent and traceable across projects by requiring standard sections, locations, statuses, and task tracking.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it when writing story files to record the user need, background, estimates, constraints, implementation tasks, tests, and completion history.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/synaptiai/prompt-decorators/903-story-template
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/synaptiai/prompt-decorators

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 903-story-template

README.md
[![agentmods](https://agentmods.dev/badge/rules/synaptiai/prompt-decorators/903-story-template/github.svg)](https://agentmods.dev/rules/synaptiai/prompt-decorators/903-story-template)
Your own site
<a href="https://agentmods.dev/rules/synaptiai/prompt-decorators/903-story-template"><img src="https://agentmods.dev/badge/rules/synaptiai/prompt-decorators/903-story-template/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 903-story-template

Your own site · 80×15
<a href="https://agentmods.dev/rules/synaptiai/prompt-decorators/903-story-template"><img src="https://agentmods.dev/badge/rules/synaptiai/prompt-decorators/903-story-template.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 828 This file is loaded in full into every session.
When invoked 828 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00828 $0.00828
Opus 5 $0.00414 $0.00414
Sonnet 5 $0.00166 $0.00166
Haiku 4.5 $0.00083 $0.00083

Measured 11d ago against content hash 63ce82a9b768, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

903-story-template scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

xnotes/903-story-template.mdc · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Story Template Standards

1.0.0

Requirements

  • Follow standardized story structure
  • Include all required sections
  • Track progress accurately
  • Maintain implementation history
  • Stories must be organized under Epic directories

File Structure

Stories must be placed in their Epic's directory: .ai/epic-{n}/story-{m}.story.md

Story Structure

Required Sections

1. Header

Epic-{N}: {Epic Title} Story-{M}: {Story Title}

2. Story Description

As a {role} I want {action} so that {benefit}

3. Status
  • Draft
  • In Progress
  • Complete
  • Cancelled
4. Context
  • Background information
  • Current state
  • Story justification
  • Technical context
  • Business drivers
  • Relevant history from previous stories
5. Estimation

Story Points: {Story Points (1 SP = 1 day of Human Development = 10 minutes of AI development)}

6. Tasks
Task Groups
    • {Major Task Group 1}
      • {Test Subtasks (as needed)}
      • {Subtask}

Note:

  • Use - [x] for completed items
  • Use skipped/cancelled items
  • Follow TDD - Start with Writing Tests Subtask

7. Additional Sections

Constraints
  • List any technical or business constraints
Data Models / Schema
  • Database schemas
  • API request/response models
  • Interfaces/types
Structure
  • Module organization
  • File structure plan
Diagrams
  • Mermaid diagrams as needed
Dev Notes
  • Implementation commentary
  • Important considerations
  • Technical decisions
Chat Command Log
  • Commands from User
  • Agent Question and Users Response

Examples

Story

As a chess player I want to see a clear and interactive chessboard so that I can play chess in the web browser

Status

In Progress

Context

Part of Epic-1 which implements the core 2-player chess game. This story focuses on the visual and interactive aspects of the chessboard. The project setup (Story-1) is complete, providing the foundation for UI implementation.

Read the full file on GitHub · 157 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 157 lines · 828 tokens per session scan A 63ce82a9b768

Subscribe to this mod's changes

903-story-template is a cursor rule published in the GitHub repository synaptiai/prompt-decorators (43 stars, last pushed 3d ago), licensed Apache-2.0. It adds 828 tokens to every session, about $0.0041 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.