Below you will find pages that utilize the taxonomy term “Rust”
Agents
read more
Extending a Rust cli tool using Junie
Implementing a new command to cforge
Iteration 1
ExcellentPrompt
Implement clear command by accomplishing the next tasks:
- Create a new file and implement it according to the other commands
- Create and verify a tests for clear command
- Add the command to the commands.rs
Desing a plan following these steps and present it to me before continuing
Result
Actually one shot the task. Just required minor cleanup (and no plan was ever presented).Iteration 2
OkayPrompt
Write documentation for theclear command to the commands.md file and add clear command to the changelog.md file. Increment the minor version
Result
Documentation wasn’t great and required manual tweaking. Way too much unnecessary text.Conclusion
Really simple change, but it still nailed it.
Agents
read more
Markdown parsing with Junie
Parsing md files for statistics
Iteration 1
GoodPrompt
Create a stand-alone rust script collect_data.rs that analyzes .md files from content/agents/
Gather the tags from each file and write them to contents/agents/_index.md. The tags are defined in a toml; example below
+++
tags = ['junie','fuzzier','kotlin']
title = 'Implementing a search improvement using Junie'
categories = 'agent-testing'
+++
Result
It collected unique tags from the files and wrote them as tags to the_index.md.
Which again is fine, but now what I was looking for.
Iteration 2
GoodPrompt
Instead of collecting and writing unique tags to thecontent/agents/_index.md collect the amount of tags and display them as a table on the index file
Result
Nothing strange, it did what it was supposed to.Iteration 3 (new task)
GoodPrompt
Let’s add a new layer of parsing to the collect_data.rs rust script