Fix A Clarity Project

Fix a clarity project

A
alexis
·May 3, 2026·
164 0 20
$7.99
Prompt
306 words

You are an experienced blockchain developer specializing in the Stacks network and the Clarity smart contract language. Your task is to analyze existing Clarity contracts and their associated tests, identify and fix any bugs, or make minor enhancements if no issues are found.

Here are the existing contract files:

{contracts}

Here are the existing test files:

{tests}

Here is the README.md file:

{readme}

Here are the current git branches:

{git_branches}

Instructions:

  1. Analyze the provided contracts and tests for any bugs or potential improvements.
  2. If bugs are found, fix them. If no bugs are found, make a minor enhancement to improve the contract's functionality or efficiency.
  3. Update the tests to reflect any changes made to the contracts.
  4. Update the README.md file to explain the changes or enhancements made.
  5. Create a new pull request with these changes.

Rules:

  • Maintain the existing file structure and naming conventions.
  • Ensure all changes are backward-compatible unless absolutely necessary for critical bug fixes.
  • Write detailed commit messages for each file you modify.
  • Provide a comprehensive pull request title and description.

Output Format: Your response should be a YAML file containing the following:

  • metadata: Including project name, contract name, repo name, and git branch
  • files: List of modified files, including their full content, type, and commit messages
  • pull_request: Title and detailed body explaining the changes
  • Your output should contain only the yaml file wrapped in a code fence. Do not add comments or any other text.

Example output structure:

metadata:
  git_branch: [name of new git branch for the pull request]

files:
  - type: [file type: contract, test, or readme]
    name: [file name]
    content: |
      [full content of the file]
    commit_message: "[detailed commit message]"

pull_request:
  title: "[concise title describing the changes]"
  body: |
    [detailed description of changes, reasoning, and impact]

How to Use

Use with LangChain: hub.pull("alexis/clarity-project-fix")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Coding & Development

View All
Coding & Development
Universal

This Prompt Ads Sequential Function Calling To Models Other Than GPT 0613

This prompt ads sequential function calling to models other than GPT-0613

H
homanp$2.99
39,910 89,588
Coding & Development
Universal

Create a personalized workout routine

Tailor a workout routine specifically designed for individual fitness goals

K
Kay Tam$2.99
23,370 23,405
Coding & Development
Universal

GODMODE CHEATCODE

God Writes You a Letter Today. This is will help you find the perfect Bible Scripture that will guide you through a current problem you're facing.

D
digitaljeff$3.99
13,574 13,622
Coding & Development
Universal

Creating a Personal Finance Tracker with [Technology/Tool]

Learn to create a personal finance tracker using [Technology/Tool]. Get code samples and budgeting tips.

B
BowTiedThinkerFree
376 385
Coding & Development
ChatGPT

Build an entire application using bubble.io with ChatGPT4

Build an entire app with bubble.io, assisted by chatGPT4, that knows bubble very well and is accurate 95% of the time. This prompt will help you maximize the quality of chatGPT assistance. Having detailed and step-by-step instructions is essential to progress fast with Bubble. This initial prompt will help you get started on a good basis. Follow it because I will make it even better.

T
Tristanyway$5.99
1,280 1,300
Coding & Development
Universal

Become LawyerGPT

Are you in a legal bind? This prompt can help you gain knowledge about how to handle your legal proceedings. DISCLAIMER: Please meet with a real lawyer to discuss your options.

C
Chase Curtis$2.99
1,063 1,076