{"id":"9aadf570-3828-4b73-ad99-d3c5b1992208","shortId":"tr3HFq","kind":"skill","title":"031-architecture-adr-functional-requirements","tagline":"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 ","description":"# Create ADRs for Functional Requirements (CLI and/or REST API)\n\nGuide 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.\n\n**What is covered in this Skill?**\n\n- Surface discovery: CLI, REST/HTTP API, or both (inference + confirmation)\n- Initial context: purpose, users/consumers, constraints, timeline, load (API when relevant)\n- Functional requirements: surface-specific workflows, I/O, resources, errors\n- Technical decisions: language/framework; REST blocks (API design, auth, data, infra, testing/monitoring) and/or CLI blocks (architecture, data/integration, testing/distribution)\n- Decision synthesis and validation before ADR creation\n- ADR document generation and next steps\n\n## Constraints\n\nUse conversational discovery—ask 1-2 questions at a time, build on answers, validate before proceeding. Only create ADR after thorough conversation and user confirmation.\n\n- **MANDATORY**: Run `date` before starting to get accurate timestamps for the ADR\n- **MUST**: Read the reference template fresh—do not use cached questions\n- **MUST**: Ask one or two questions at a time; never all at once\n- **MUST**: Validate summary with user (Does this accurately capture your requirements?) before proposing ADR creation\n- **MUST**: Wait for user to confirm proceed before generating the ADR\n\n## When to use this skill\n\n- Create ADR for functional requirements\n- Document functional requirements\n- Capture functional requirements\n- Generate functional requirements in an ADR\n\n## Workflow\n\n0. **Get current date**\n\nRun `date` before discovery and use it for ADR timestamps.\n\n1. **Read reference and discover surface scope**\n\nRead `references/031-architecture-adr-functional-requirements.md`, infer CLI/API scope from project context, and ask a short clarifying question if unclear.\n\n2. **Run conversational discovery**\n\nAsk one or two questions at a time to capture context, functional requirements, and technical decisions for CLI, REST API, or both.\n\nStep constraints:\n- Never ask all discovery questions at once\n- Validate summary with user before proposing ADR generation\n\n3. **Generate ADR after explicit confirmation**\n\nOnly after user confirms proceed, generate the ADR document and provide concise next steps.\n\n## Reference\n\nFor detailed guidance, examples, and constraints, see [references/031-architecture-adr-functional-requirements.md](references/031-architecture-adr-functional-requirements.md).","tags":["031","architecture","adr","functional","requirements","cursor","rules","java","jabrena","agent-skills","ai-skills","claude"],"capabilities":["skill","source-jabrena","skill-031-architecture-adr-functional-requirements","topic-agent-skills","topic-ai-skills","topic-claude","topic-claude-code","topic-claude-code-skills","topic-claude-code-subagents","topic-claude-skills","topic-cursor-agent","topic-cursor-ai","topic-cursor-skills","topic-cursorai","topic-github-copilot"],"categories":["cursor-rules-java"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/jabrena/cursor-rules-java/031-architecture-adr-functional-requirements","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add jabrena/cursor-rules-java","source_repo":"https://github.com/jabrena/cursor-rules-java","install_from":"skills.sh"}},"qualityScore":"0.631","qualityRationale":"deterministic score 0.63 from registry signals: · indexed on github topic:agent-skills · 362 github stars · SKILL.md body (2,743 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-26T18:53:39.835Z","embedding":null,"createdAt":"2026-04-18T22:01:44.833Z","updatedAt":"2026-04-26T18:53:39.835Z","lastSeenAt":"2026-04-26T18:53:39.835Z","tsv":"'-2':182 '0':287 '031':1 '1':181,301 '2':324 '3':367 'accur':209,245 'adr':4,15,43,46,85,168,170,195,213,251,263,270,285,299,365,369,380 'and/or':51,157 'answer':189 'api':22,53,75,99,122,134,151,347 'architectur':3,12,38,160 'architecture-adr-functional-requir':2 'ask':105,180,226,317,328,353 'auth':153 'block':150,159 'build':187 'cach':223 'captur':39,246,277,337 'clarifi':108,320 'cli':20,50,97,120,158,345 'cli/api':311 'combin':77 'command':33,71 'command-lin':32,70 'concis':384 'confirm':126,201,258,372,376 'constraint':131,176,351,393 'context':102,128,315,338 'convers':8,59,91,94,178,198,326 'cover':19,114 'creat':11,42,45,194,269 'creation':169,252 'current':289 'data':154 'data/integration':161 'date':204,290,292 'decis':13,65,147,163,343 'design':152 'detail':389 'discov':305 'discoveri':9,119,179,294,327,355 'document':31,63,88,171,274,381 'error':145 'exampl':391 'explicit':371 'facilit':7 'fresh':219 'function':5,17,40,48,67,137,272,275,278,281,339 'generat':172,261,280,366,368,378 'get':208,288 'guid':54 'guidanc':390 'http':36 'i/o':143 'infer':96,125,310 'infra':155 'initi':127 'interact':82 'language/framework':148 'line':34,72 'load':133 'mandatori':202 'must':214,225,238,253 'never':234,352 'next':174,385 'one':227,329 'possibl':104 'proceed':192,259,377 'project':101,314 'propos':250,364 'provid':383 'purpos':129 'question':109,183,224,230,321,332,356 'read':215,302,308 'record':14 'refer':217,303,387 'references/031-architecture-adr-functional-requirements.md':309,395,396 'relev':136 'requir':6,18,41,49,68,138,248,273,276,279,282,340 'resourc':144 'rest':52,149,346 'rest/http':21,74,121 'run':203,291,325 'scope':307,312 'see':394 'servic':37 'short':107,319 'skill':83,117,268 'skill-031-architecture-adr-functional-requirements' 'source-jabrena' 'specif':141 'stakehold':55 'start':206 'step':175,350,386 'structur':58 'summari':240,360 'surfac':78,118,140,306 'surface-specif':139 'synthesi':164 'technic':64,146,342 'templat':218 'testing/distribution':162 'testing/monitoring':156 'thorough':197 'time':186,233,335 'timelin':132 'timestamp':210,300 'tool':73 'topic-agent-skills' 'topic-ai-skills' 'topic-claude' 'topic-claude-code' 'topic-claude-code-skills' 'topic-claude-code-subagents' 'topic-claude-skills' 'topic-cursor-agent' 'topic-cursor-ai' 'topic-cursor-skills' 'topic-cursorai' 'topic-github-copilot' 'two':229,331 'unclear':111,323 'uncov':61 'use':25,177,222,266,296 'user':28,200,242,256,362,375 'users/consumers':130 'valid':166,190,239,359 'vs':98 'wait':254 'want':29 'workflow':142,286","prices":[{"id":"6193c651-b8e2-4111-8b5a-5f61909f559f","listingId":"9aadf570-3828-4b73-ad99-d3c5b1992208","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"jabrena","category":"cursor-rules-java","install_from":"skills.sh"},"createdAt":"2026-04-18T22:01:44.833Z"}],"sources":[{"listingId":"9aadf570-3828-4b73-ad99-d3c5b1992208","source":"github","sourceId":"jabrena/cursor-rules-java/031-architecture-adr-functional-requirements","sourceUrl":"https://github.com/jabrena/cursor-rules-java/tree/main/skills/031-architecture-adr-functional-requirements","isPrimary":false,"firstSeenAt":"2026-04-18T22:01:44.833Z","lastSeenAt":"2026-04-26T18:53:39.835Z"}],"details":{"listingId":"9aadf570-3828-4b73-ad99-d3c5b1992208","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"jabrena","slug":"031-architecture-adr-functional-requirements","github":{"repo":"jabrena/cursor-rules-java","stars":362,"topics":["agent-skills","ai-skills","claude","claude-code","claude-code-skills","claude-code-subagents","claude-skills","cursor-agent","cursor-ai","cursor-skills","cursorai","github-copilot","intellij-idea","java","prompting","system-prompts"],"license":"apache-2.0","html_url":"https://github.com/jabrena/cursor-rules-java","pushed_at":"2026-04-26T13:48:39Z","description":"A curated and opinionated collection of Skills and Agents to be used in modern SDLC workflows for Java Enterprise development with your favorite AI Agent harness.","skill_md_sha":"bf6f31f6201437f6caff97cafef1aa051b745519","skill_md_path":"skills/031-architecture-adr-functional-requirements/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/jabrena/cursor-rules-java/tree/main/skills/031-architecture-adr-functional-requirements"},"layout":"multi","source":"github","category":"cursor-rules-java","frontmatter":{"name":"031-architecture-adr-functional-requirements","license":"Apache-2.0","description":"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. This should trigger for requests such as Create ADR for functional requirements; Document functional requirements; Capture functional requirements; Generate functional requirements in an ADR. Part of cursor-rules-java project"},"skills_sh_url":"https://skills.sh/jabrena/cursor-rules-java/031-architecture-adr-functional-requirements"},"updatedAt":"2026-04-26T18:53:39.835Z"}}