Skip to content

Commit 7f6238b

Browse files
authored
Bring back "Latest Additions"
Bring back "Latest Additions"
2 parents 6a99aae + 98154b4 commit 7f6238b

12 files changed

+553
-212
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<picture>
1313
<source media="(prefers-color-scheme: dark)" srcset="assets/terminal-header.svg">
1414
<source media="(prefers-color-scheme: light)" srcset="assets/terminal-header-light-anim-lineprint.svg">
15-
<img src="assets/terminal-header-light-anim-lineprint.svg" alt="Awesome Claude Code Terminal" width="100%">
15+
<img src="assets/terminal-header-light-anim-lineprint.svg" alt="Awesome Claude Code Terminal">
1616
</picture>
1717

1818
<!-- Generated with https://github.com/denvercoder1/readme-typing-svg -->
@@ -174,12 +174,23 @@
174174

175175
<div align="center">
176176
<picture>
177-
<source media="(prefers-color-scheme: dark)" srcset="assets/makeover-banner.svg">
178-
<source media="(prefers-color-scheme: light)" srcset="assets/makeover-banner-light.svg">
179-
<img src="assets/makeover-banner-light.svg" alt="EXTREME REPO MAKEOVER BY CLAUDE CODE WEB!" width="100%" style="max-width: 900px;">
177+
<source media="(prefers-color-scheme: dark)" srcset="assets/latest-additions-header.svg">
178+
<source media="(prefers-color-scheme: light)" srcset="assets/latest-additions-header-light.svg">
179+
<img src="assets/latest-additions-header-light.svg" alt="LATEST ADDITIONS">
180180
</picture>
181181
</div>
182182

183+
<a href="https://github.com/JamieM0/claude-output-styles"><img src="assets/badge-claude-code-output-styles-debugging.svg" alt="Claude Code Output Styles - Debugging"></a>
184+
_A small set of well-written output styles, specifically focused on debugging - root cause analysis, systematic, methodical debugging, encouraging a more careful approach to bug-squashing from Claude Code._
185+
![GitHub Stats for claude-output-styles](https://github-readme-stats-plus-theta.vercel.app/api/pin/?repo=claude-output-styles&username=JamieM0&all_stats=true&stats_only=true&hide_border=true&bg_color=00000000&icon_color=FF0000&text_color=FF0000)
186+
187+
<a href="https://github.com/Haleclipse/CCometixLine"><img src="assets/badge-ccometixline-claude-code-statusline.svg" alt="CCometixLine - Claude Code Statusline"></a>
188+
_A high-performance Claude Code statusline tool written in Rust with Git integration, usage tracking, interactive TUI configuration, and Claude Code enhancement utilities._
189+
![GitHub Stats for CCometixLine](https://github-readme-stats-plus-theta.vercel.app/api/pin/?repo=CCometixLine&username=Haleclipse&all_stats=true&stats_only=true&hide_border=true&bg_color=00000000&icon_color=FF0000&text_color=FF0000)
190+
191+
<a href="https://nikiforovall.blog/claude-code-rules/"><img src="assets/badge-claude-code-handbook.svg" alt="Claude Code Handbook"></a>
192+
_Collection of best practices, tips, and techniques for Claude Code development workflows, enhanced with distributable plugins_
193+
183194

184195
<br>
185196

README_CLASSIC.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,33 @@ Claude Code is a cutting-edge CLI-based coding assistant and agent released by [
3535

3636

3737

38-
## This Week's Additions ✨ [🔝](#awesome-claude-code)
38+
## Latest Additions ✨ [🔝](#awesome-claude-code)
3939

40-
> Resources added in the past 7 days
4140

42-
*No new resources added this week.*
41+
[`Claude Code Output Styles - Debugging`](https://github.com/JamieM0/claude-output-styles) &nbsp; by &nbsp; [Jamie Matthews](https://github.com/JamieM0) &nbsp;&nbsp;⚖️&nbsp;&nbsp;MIT
42+
A small set of well-written output styles, specifically focused on debugging - root cause analysis, systematic, methodical debugging, encouraging a more careful approach to bug-squashing from Claude Code.
43+
44+
<details>
45+
<summary>📊 GitHub Stats</summary>
46+
47+
![GitHub Stats for claude-output-styles](https://github-readme-stats-plus-theta.vercel.app/api/pin/?repo=claude-output-styles&username=JamieM0&all_stats=true&stats_only=true)
48+
49+
</details>
50+
<br>
51+
52+
[`CCometixLine - Claude Code Statusline`](https://github.com/Haleclipse/CCometixLine) &nbsp; by &nbsp; [Haleclipse](https://github.com/Haleclipse)
53+
A high-performance Claude Code statusline tool written in Rust with Git integration, usage tracking, interactive TUI configuration, and Claude Code enhancement utilities.
54+
55+
<details>
56+
<summary>📊 GitHub Stats</summary>
57+
58+
![GitHub Stats for CCometixLine](https://github-readme-stats-plus-theta.vercel.app/api/pin/?repo=CCometixLine&username=Haleclipse&all_stats=true&stats_only=true)
59+
60+
</details>
61+
<br>
62+
63+
[`Claude Code Handbook`](https://nikiforovall.blog/claude-code-rules/) &nbsp; by &nbsp; [nikiforovall](https://github.com/nikiforovall) &nbsp;&nbsp;⚖️&nbsp;&nbsp;MIT
64+
Collection of best practices, tips, and techniques for Claude Code development workflows, enhanced with distributable plugins
4365

4466

4567
## Contents [🔝](#awesome-claude-code)
Lines changed: 32 additions & 0 deletions
Loading
Lines changed: 47 additions & 0 deletions
Loading

assets/latest-additions-header.svg

Lines changed: 67 additions & 0 deletions
Loading

scripts/create_resource_pr.py

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import argparse
88
import json
99
import os
10+
import re
1011
import subprocess
1112
import sys
1213
from datetime import datetime
@@ -29,6 +30,16 @@ def create_unique_branch_name(base_name: str) -> str:
2930
return f"{base_name}-{timestamp}"
3031

3132

33+
def get_badge_filename(display_name: str) -> str:
34+
"""Compute the badge filename for a resource.
35+
36+
Uses the same logic as save_resource_badge_svg in generate_readme.py.
37+
"""
38+
safe_name = re.sub(r"[^a-zA-Z0-9]", "-", display_name.lower())
39+
safe_name = re.sub(r"-+", "-", safe_name).strip("-")
40+
return f"badge-{safe_name}.svg"
41+
42+
3243
def main():
3344
"""Main entry point."""
3445
parser = argparse.ArgumentParser(description="Create PR from approved resource submission")
@@ -112,8 +123,28 @@ def main():
112123
status_result = run_command(["git", "status", "--porcelain"])
113124
print(f"Git status after README generation:\n{status_result.stdout}", file=sys.stderr)
114125

126+
# Compute badge path and check if it was generated
127+
script_dir_abs = os.path.dirname(os.path.abspath(__file__))
128+
repo_root = os.path.dirname(script_dir_abs)
129+
badge_filename = get_badge_filename(resource_data["display_name"])
130+
badge_path = os.path.join(repo_root, "assets", badge_filename)
131+
badge_warning = ""
132+
115133
# Stage changes (includes both README.md and README_CLASSIC.md)
116-
run_command(["git", "add", "THE_RESOURCES_TABLE.csv", "README.md", "README_CLASSIC.md"])
134+
files_to_stage = ["THE_RESOURCES_TABLE.csv", "README.md", "README_CLASSIC.md"]
135+
136+
if os.path.exists(badge_path):
137+
# Stage the badge file relative to repo root
138+
files_to_stage.append(f"assets/{badge_filename}")
139+
print(f"Badge file found and will be staged: {badge_filename}", file=sys.stderr)
140+
else:
141+
print(f"Warning: Badge file not generated: {badge_path}", file=sys.stderr)
142+
badge_warning = (
143+
f"\n\n> **Warning**: Badge SVG (`assets/{badge_filename}`) was not generated. "
144+
"Manual attention may be required."
145+
)
146+
147+
run_command(["git", "add", *files_to_stage])
117148

118149
# Commit
119150
commit_message = f"Add resource: {resource_data['display_name']}\n\n"
@@ -131,6 +162,7 @@ def main():
131162
# Create PR
132163
pr_title = f"Add resource: {resource_data['display_name']}"
133164
pr_body = generate_pr_content(resource)
165+
pr_body += badge_warning # Empty string if badge was generated successfully
134166
pr_body += f"\n\n---\n\nResolves #{args.issue_number}"
135167

136168
# Use gh CLI to create PR

0 commit comments

Comments
 (0)