agentleFS
jabrenajabrena/cursor-rules-examples/.agents/skills/031-architecture-adr-functional-requirements/SKILL.md

031-architecture-adr-functional-requirements

Skill2 starsChanged 9 months agoApache-2.0View on GitHub

Facilitates conversational discovery to create Architectural Decision Records (ADRs) for functional requirements covering CLI, REST/HTTP APIs, or both. Use when the user wants to document command-line or HTTP service architecture, capture functional requirements, create ADRs for CLI or API projects, or design interfaces with documented decisions. Part of the skills-for-java project

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use conversational discovery—ask 1-2 questions at a time, build on answers, validate before proceeding.

    line 24
  2. Very specific:

    MANDATORY: Run date before starting to get accurate timestamps for the ADR

    line 26
  3. Distinctive:

    MUST: Read the reference template fresh—do not use cached questions

    line 27
  4. Distinctive:

    MUST: Ask one or two questions at a time.

    line 28
  5. Distinctive:

    MUST: Wait for user to confirm "proceed" before generating the ADR

    line 30
  6. Distinctive:

    Document CLI or REST architecture

    line 34
  7. Distinctive:

    Create ADR for functional requirements

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
SKILL.md

Create ADRs for Functional Requirements (CLI and/or REST API)

Guide stakeholders through a structured conversation to uncover and document technical decisions and functional requirements for command-line tools, REST/HTTP APIs, or combined surfaces. This is an interactive SKILL. The ADR is the documentation of that conversation, not the conversation itself. Infer CLI vs API from project context when possible; ask a short clarifying question when unclear.

What is covered in this Skill?

  • Surface discovery: CLI, REST/HTTP API, or both (inference + confirmation)
  • Initial context: purpose, users/consumers, constraints, timeline, load (API when relevant)
  • Functional requirements: surface-specific workflows, I/O, resources, errors
  • Technical decisions: language/framework; REST blocks (API design, auth, data, infra, testing/monitoring) and/or CLI blocks (architecture, data/integration, testing/distribution)
  • Decision synthesis and validation before ADR creation
  • ADR document generation and next steps

Constraints

Use conversational discovery—ask 1-2 questions at a time, build on answers, validate before proceeding. Only create ADR after thorough conversation and user confirmation.

  • MANDATORY: Run date before starting to get accurate timestamps for the ADR
  • MUST: Read the reference template fresh—do not use cached questions
  • MUST: Ask one or two questions at a time; never all at once
  • MUST: Validate summary with user ("Does this accurately capture your requirements?") before proposing ADR creation
  • MUST: Wait for user to confirm "proceed" before generating the ADR

When to use this skill

  • Document CLI or REST architecture
  • Create ADR for functional requirements
  • ADR for command-line tool or HTTP API
  • Functional requirements ADR

Reference

For detailed guidance, examples, and constraints, see references/031-architecture-adr-functional-requirements.md.

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.