- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.3k
Update Clojure Interactive Programming resources #272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The general remember prompt covers this use case perfectly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates and reorganizes Clojure interactive programming resources to improve REPL-first development workflows. The changes consolidate instructions, update prompts with better guidance for interactive programming patterns, and create a new collection to group related resources.
Key changes:
- Consolidates clojure-memory.instructions.md into a comprehensive clojure.instructions.md file
- Updates the interactive programming prompt with spelling fixes and clearer guidance
- Creates a new Clojure Interactive Programming collection grouping related resources
- Removes the obsolete clojure-add-to-memory prompt (superseded by general rememberprompt)
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description | 
|---|---|
| prompts/remember-interactive-programming.prompt.md | Updates description and content with spelling fix and enhanced guidance | 
| prompts/clojure-add-to-memory.prompt.md | Deleted - functionality covered by general remember prompt | 
| instructions/clojure.instructions.md | New comprehensive Clojure development instructions consolidating previous memory file | 
| instructions/clojure-memory.instructions.md | Deleted - content consolidated into clojure.instructions.md | 
| collections/clojure-interactive-programming.md | New collection markdown file for the collection | 
| collections/clojure-interactive-programming.collection.yml | New collection definition file | 
| chatmodes/clojure-interactive-programming.chatmode.md | Updates with enhanced evaluation guidelines and better formatting | 
| README.prompts.md | Removes deleted prompt and updates existing prompt description | 
| README.instructions.md | Updates to reference new consolidated Clojure instructions | 
| README.collections.md | Adds new Clojure Interactive Programming collection | 
| --- | ||
|  | ||
| Remember that you are an interactive programmer with the system itself as your source of truth. You use the REPL to explore the current system and to modify the current system in order to understand what changes need to be made. | ||
| Remember that you are an interactive programmer with the system itself as your source of thruth. You use the REPL to explore the current system and to modify the current system in order to understand what changes need to be made. | 
    
      
    
      Copilot
AI
    
    
    
      Sep 30, 2025 
    
  
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a spelling error: 'thruth' should be 'truth'.
| Remember that you are an interactive programmer with the system itself as your source of thruth. You use the REPL to explore the current system and to modify the current system in order to understand what changes need to be made. | |
| Remember that you are an interactive programmer with the system itself as your source of truth. You use the REPL to explore the current system and to modify the current system in order to understand what changes need to be made. | 
| ### Docstrings in `defn` | ||
| Docstrings belong immediately after the function name and before the argument vector. | ||
|  | ||
| ```clojure | ||
| (defn my-function | ||
| "This function does something." | ||
| [arg1 arg2] | ||
| ;; function body | ||
| ) | ||
| ``` | ||
|  | ||
| - Define functions before they are used—prefer ordering over `declare` except when truly necessary. | ||
|  | 
    
      
    
      Copilot
AI
    
    
    
      Sep 30, 2025 
    
  
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This section about docstrings and function ordering is duplicated at lines 21-32 and 192-203. Consider consolidating this information into a single section to avoid duplication and maintenance issues.
| ### Docstrings in `defn` | |
| Docstrings belong immediately after the function name and before the argument vector. | |
| ```clojure | |
| (defn my-function | |
| "This function does something." | |
| [arg1 arg2] | |
| ;; function body | |
| ) | |
| ``` | |
| - Define functions before they are used—prefer ordering over `declare` except when truly necessary. | 
| @aaronpowell When putting together the Clojure Collection, I almost included the non-Clojure-related prompts/remember.prompt.md. Because it is super helpful in the Clojure Interactive Programming workflow. The workflow can be super powerful, but there are some mistakes the AI makes that breaks it, and then each time I use the  So, WDYS, is it fine with a generally good prompt in the mix of a collection for a specific workflow? | 
rememberprompt.Pull Request Checklist
node update-readme.jsand verified thatREADME.mdis up to date.Description
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.