Fabric
Fabric copied to clipboard
[Feature request]: Make Patterns more discoverable
What do you need?
--list shows you the names of all the patterns, but other than roaming through the file system there is no way to discover patterns and what they do.
I think an output like this would be great.
| pattern | description |
|---|---|
| pattern_name | A brief description of what this pattern does. |
I'm not sure if the description can be a section in the system.md or if it needs to be separate.
Hmm... maybe summarize_pattern is a new pattern and --listpatterns just loops through all the pattern folders.
This output is a bit too verbose.
cat patterns/rate_content/system.md | fabric -s -p summarize
ONE SENTENCE SUMMARY:
This task outlines a method for classifying and rating content based on thematic relevance and idea quantity.
MAIN POINTS:
- Content is labeled with up to 20 single-word descriptors.
- Labels must be unique and relevant to the content.
- Content rating is based on idea quantity and thematic alignment.
- Themes include human meaning, AI's future, and abstract thinking.
- Ratings range from S Tier (highest) to D Tier (lowest).
- S Tier requires 18+ ideas or strong theme matching.
- A Tier is for 15+ ideas or good theme matching.
- B Tier applies to 12+ ideas or decent theme matching.
- C Tier is given for 10+ ideas or some theme matching.
- D Tier indicates few ideas or little theme relevance.
TAKEAWAYS:
- The process emphasizes both the quantity and quality of ideas.
- Thematic relevance is crucial for higher ratings.
- The system allows for nuanced content evaluation.
- Labels help categorize content for easier understanding.
- This method encourages in-depth analysis of content's value and relevance.%
Updated the descriptions, I just discovered --list but I still think it could be improved.
I've been thinking about this, too, and started playing with the idea of a 'meta-pattern' that creates categories and organizes the patterns into them. Here's a gist of what I was working on: https://gist.github.com/nopslip/e25b8d9f1d6e3dbbf0b61f2a0820890e
Of course, asking AI to create the categories using a 'meta-pattern' during the build pipeline would be prone to unknown results, so it's probably not ideal.
I like your idea here:
cat patterns/rate_content/system.md | fabric -s -p summarize
I also thought a simple web UI connected to the patterns folder in the repo could be cool. It could provide basic search and display of the readme's. For good form, maybe an example or two of the pattern in action, too.
I have a similar need and sometimes I find that I want to use fabric but I only have my or my tablet. Either a web page or maybe an obsidian plugin would be helpful for me in those situations.
Is there any progress on this so far?
All the pattern descriptions are here and I am keeping this file updated: