-
Notifications
You must be signed in to change notification settings - Fork 12
Community call: shared skills for the Rails community #151
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
Open
AFornio
wants to merge
1
commit into
rubyuy:main
Choose a base branch
from
AFornio:skills-para-rails
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # Community-made skills for coding agents (Claude Code, etc.) focused on Ruby on Rails. | ||
| # Skills belong to the community — they are not attributed to a single author. | ||
| # | ||
| # To add one: drop a SKILL.md in _skills/<name>.md and add its entry here. | ||
|
|
||
| last_updated: 2026-08-14 | ||
|
|
||
| skills: | ||
| - name: rspec-tests-for-rails | ||
| category: Tests | ||
| type: rule | ||
| description: Rules for writing fast, maintainable RSpec specs in Rails — build_stubbed over build/create, let over before, avoiding N+1s in specs, memoizing the subject. | ||
| url: /skills/rspec-tests-for-rails/ | ||
| topics: [rspec, testing, factorybot] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <div class="skill" data-search="{{ search_text | downcase | strip_html | strip_newlines }}"> | ||
| <h4> | ||
| <a href="{{ skill.url }}">{{ skill.name }}</a> | ||
| <span class="skill-type skill-type-{{ skill.type | default: "skill" }}">{{ skill.type | default: "skill" }}s</span> | ||
| </h4> | ||
|
|
||
| {% if skill.description != "" %} | ||
| <p class="skill-description">{{ skill.description }}</p> | ||
| {% endif %} | ||
|
|
||
| {% if skill.topics.size > 0 %} | ||
| <div class="skill-topics"> | ||
| {% for topic in skill.topics limit: 4 %} | ||
| <span class="skill-topic">{{ topic }}</span> | ||
| {% endfor %} | ||
| </div> | ||
| {% endif %} | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| {% include head.html %} | ||
|
|
||
| <body> | ||
| {% include nav.html %} | ||
|
|
||
| <main> | ||
| <article id="view-skill" class="view"> | ||
| {% comment %} Catalog metadata lives only in _data/skills.yml {% endcomment %} | ||
| {% assign skill = site.data.skills.skills | where: "url", page.url | first %} | ||
|
|
||
| <section> | ||
| <a href="/skills/" class="skill-back">← Skills</a> | ||
| <h2>{{ skill.name }}</h2> | ||
| <p class="skill-detail-description">{{ skill.description }}</p> | ||
| </section> | ||
|
|
||
| <section> | ||
| <div class="skill-toolbar"> | ||
| <div class="skill-tabs"> | ||
| <button class="skill-tab active" data-view="markdown" type="button">Markdown</button> | ||
| <button class="skill-tab" data-view="raw" type="button">Raw</button> | ||
| </div> | ||
| <button id="skill-copy" class="skill-copy-btn" type="button">Copy</button> | ||
| </div> | ||
|
|
||
| {% comment %} Rendered by Jekyll; the raw file is re-read below for the copy button {% endcomment %} | ||
| <div id="skill-markdown" class="skill-markdown">{{ content }}</div> | ||
|
|
||
| {% capture skill_source %}{% include_relative {{ page.slug }}.md %}{% endcapture %} | ||
| <pre id="skill-source" class="skill-raw" hidden>{{ skill_source | escape }}</pre> | ||
| </section> | ||
| </article> | ||
| </main> | ||
|
|
||
| {% include footer.html %} | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| {% include head.html %} | ||
|
|
||
| <body> | ||
| {% include nav.html %} | ||
|
|
||
| <main> | ||
| <article id="view-skills" class="view"> | ||
| <section> | ||
| <h2>Skills & Rules</h2> | ||
| <p class="skills-subtitle">The best Ruby on Rails skills and rules built by our community, for coding agents</p> | ||
|
|
||
| <input type="search" id="skills-search" class="skills-search" placeholder="Search skills..." autocomplete="off"> | ||
|
|
||
| <p class="skills-updated">Last updated: {{ site.data.skills.last_updated | date: "%B %-d, %Y" }}</p> | ||
|
|
||
| <p class="skills-contribute">Missing one? <a href="https://github.com/rubyuy/ruby.uy/tree/main/_skills">Contribute a skill or rule</a> — anyone can add one.</p> | ||
| </section> | ||
|
|
||
| <section id="skills-list"> | ||
| {% assign skills = site.data.skills.skills %} | ||
|
|
||
| {% if skills.size == 0 %} | ||
| <p class="skills-empty">No skills published yet — be the first to add one.</p> | ||
| {% endif %} | ||
|
|
||
| {% assign categories = skills | group_by: "category" %} | ||
| {% for category in categories %} | ||
| <h3 class="skills-category">{{ category.name | default: "Other" }}</h3> | ||
|
|
||
| {% for skill in category.items %} | ||
| {% capture search_text %}{{ skill.name }} {{ skill.description }} {{ skill.topics | join: ' ' }}{% endcapture %} | ||
|
|
||
| {% include skill_card.html %} | ||
| {% endfor %} | ||
| {% endfor %} | ||
| </section> | ||
| </article> | ||
| </main> | ||
|
|
||
| {% include footer.html %} | ||
| </body> | ||
| </html> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.