14-spec-creation

14-spec-creation is a cursor rule for Cursor from bybren-llc/a-safe-pulse. It costs 0 tokens per session (725 once invoked), scanned A, a copy of 14-spec-creation, MIT.

A set of rules for writing implementation specifications, including acceptance checks, references, validation commands, and demo steps.

In plain words
What is it for?
Use it when creating or editing a feature specification. Acceptance criteria are testable conditions that define whether the feature is complete.
Why use it?
It prevents incomplete specifications from being passed to developers without clear ways to build and verify the work.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: reads .claude/ paths.

Good fit Use it when creating or editing a feature specification. Acceptance criteria are testable conditions that define whether the feature is complete.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/bybren-llc/a-safe-pulse/14-spec-creation
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/bybren-llc/a-safe-pulse

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 14-spec-creation

README.md
[![agentmods](https://agentmods.dev/badge/rules/bybren-llc/a-safe-pulse/14-spec-creation.svg)](https://agentmods.dev/rules/bybren-llc/a-safe-pulse/14-spec-creation)
Your own site
<a href="https://agentmods.dev/rules/bybren-llc/a-safe-pulse/14-spec-creation"><img src="https://agentmods.dev/badge/rules/bybren-llc/a-safe-pulse/14-spec-creation.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 725 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00000 $0.00725
Opus 5 $0.00000 $0.00362
Sonnet 5 $0.00000 $0.00145
Haiku 4.5 $0.00000 $0.00072

Measured 3d ago against content hash b7f29ad571c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

14-spec-creation 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 3d 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.

Origin

This is a copy

100% identical to 14-spec-creation — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/14-spec-creation.mdc · 110 lines

How it starts

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

Spec Creation Rules

These rules apply when creating or editing implementation specs. Every spec drives implementation -- incomplete specs block all downstream work.

Stop-the-Line: Spec Quality Gate

Every spec MUST include:

  1. Acceptance Criteria -- Testable pass/fail conditions
  2. Pattern References -- Pointers to patterns_library/ for execution agents
  3. Success Validation Command -- A runnable command to verify the feature works
  4. Demo Script -- Step-by-step reproduction for QAS

If any of these are missing, the spec is not ready for implementation.

Spec Template

Use this structure for all implementation specs:

# SPEC-ASP-{number}: {Feature Name}

## Summary
{One paragraph describing the feature}

## User Story
As a [user type], I want [goal] so that [benefit].

## Acceptance Criteria
- [ ] {Testable criterion 1}
- [ ] {Testable criterion 2}
- [ ] {Testable criterion 3}

## Pattern References
- **API**: `patterns_library/api/{pattern}.md`
- **Database**: `patterns_library/database/{pattern}.md`
- **Security**: `docs/database/RLS_IMPLEMENTATION_GUIDE.md`

## Success Validation Command
{runnable command to verify the feature}

## Demo Script
1. Navigate to {page}
2. Perform {action}
3. Observe {expected behavior}
4. Verify {success indicator}

## Logical Commits
1. `feat(scope): implement data model [ASP-{number}]`
2. `feat(scope): add API endpoint [ASP-{number}]`
3. `test(scope): add tests [ASP-{number}]`

Acceptance Criteria Patterns

User Action Criteria

- [ ] User can {action} -> {result}
- [ ] When user {triggers}, system {responds}
- [ ] User receives {feedback} after {action}

Data Criteria

- [ ] Data persists after {action}
- [ ] User can only see their own {data type}
- [ ] {field} validates {constraint}

Error Criteria

- [ ] Invalid input shows {error message}
- [ ] Network failure shows retry option
- [ ] Unauthorized access returns 401

FORBIDDEN Patterns

Read the full file on GitHub · 110 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. 3d ago First seen · 110 lines · 0 tokens per session scan A b7f29ad571c7

Subscribe to this mod's changes

14-spec-creation is a cursor rule published in the GitHub repository bybren-llc/a-safe-pulse (9 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 725 tokens. A static security scan graded it A with 0 findings. It is 100% identical to 14-spec-creation, differing in 8 lines, and is treated as a copy.