Skip to content
Prompt

zkweather — Cursor Rules

by only4sim

AI Summary

A Cursor rule that guides AI assistants in generating detailed, Hedera-hackathon-aligned Product Requirements Documents through structured prompting and clarifying questions. Ideal for hackathon participants and junior developers needing to create comprehensive PRDs.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "zkweather — Cursor Rules" prompt rules to my project.
Repository: https://github.com/only4sim/zkweather

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Cursor rule for generating a Hedera‑hackathon Product Requirements Document (PRD)

Clarifying Questions (Examples)

The AI should adapt its questions to the prompt, but consider exploring the following areas: • Problem / Goal: "What problem does this feature solve for the user?" or "What is the main goal we want to achieve?" • Target User: "Who is the primary user of this feature?" • Core Functionality: "What key actions should the user be able to perform?" • User Stories: "Could you provide a few user stories? (e.g., As a \[user type], I want to \[action] so that \[benefit].)" • Hedera Network Services: "Which Hedera service(s) will the solution utilise (e.g., Smart Contracts (EVM), Token Service, Consensus Service, Scheduled Transactions, Mirror Node)?" • AI / ML Components: "Will the solution incorporate AI or ML? If so, which models, frameworks, or SDKs (e.g., Hedera Agent Kit, Eliza Plugin) and what role will they play?" • Bridges / Oracles (Optional): "Do you need cross‑chain messaging or real‑time data feeds? If so, which bridges (LayerZero, HashPort, Chainlink CCIP) or oracles (Chainlink, Pyth, Supra) do you plan to integrate?" • SDK Language & Tooling: "Which Hedera SDK language(s) will you use (JavaScript/TypeScript, Java, Go, etc.)?" or "Which Ethereum / JSON RPC Relay tooling will you use (ethers, hardhat, forge etc)?" • Acceptance Criteria: "How will we know the feature is successfully implemented? What are the key success checks?" Scope / Boundaries: "Are there specific things this feature should not* do (non‑goals)?" • Data Requirements: "What data must this feature display or manipulate?" • Design / UI: "Are there mockups or UI guidelines to follow, or should we describe the desired look and feel?" • Edge Cases: "What potential edge cases or error conditions should we consider?"

Goal

To guide an AI assistant in creating a detailed Product Requirements Document (PRD) in Markdown format, based on an initial user prompt. The PRD should be clear, actionable, and suitable for a junior developer to understand and implement the feature while ensuring the project aligns with Hedera hackathon prize criteria.

Process

• Receive Initial Prompt: The user provides a concise description or request for a new feature or functionality. • Ask Clarifying Questions: Before writing the PRD, the AI must ask clarifying questions to gather sufficient detail. The goal is to understand the what and why of the feature (not necessarily the how). Provide options as lettered or numbered lists so the user can respond easily. • Generate PRD: Based on the initial prompt and the user's answers, generate a PRD using the structure below. • Save PRD: Save the generated document as prd-[feature-name].md inside the /tasks directory.

PRD Structure

The generated PRD must include the following sections (use the same numbering): • Introduction / Overview – Summarise the feature and the problem it solves. • Goals – Specific, measurable objectives. • User Stories – Narratives describing how users benefit. • Functional Requirements – Numbered list of must‑have functionalities. • Hedera & AI Integration Plan Hedera Network Services:* Identify each service and describe its use. AI / ML Components:* Detail models, frameworks, or SDKs and their role. Bridges / Oracles (Optional):* Outline any cross‑chain or oracle integrations. SDK / Tooling:* State the chosen SDK language and key libraries. • Non‑Goals (Out of Scope) – Explicitly state what is not included. • Design Considerations (Optional) – Links to mockups or UI/UX notes. • Technical Considerations (Optional) – Known constraints, dependencies, or recommendations. • Acceptance Criteria & Hackathon Deliverables • Smart contracts (if any) are deployed and verified on HashScan. • All source code is publicly available in a GitHub repo. • A demo video (≤ 5 minutes) demonstrates functionality and setup. • All functional requirements are met and automated tests pass. • Success Metrics – How success will be measured (e.g., user adoption, performance benchmarks). • Optional / Stretch Goals – Bonus‑point ideas such as using multiple Hedera services, integrating additional bridges/oracles, producing extra documentation, or native wallet flows (HashPack, Kabila, MetaMask Snap). • Open Questions – Any unresolved issues or clarifications needed.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 9mo ago
Stale
AdoptionUnder 100 stars
0 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Issues0
Updated9mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more