Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Reset Draft

ASecurity

Reset draft.md from for-editor-only-draft.txt for the next R Weekly issue, carrying over any links contributors added after the last release. Use when draft.md still holds an already-published issue (e.g. /release's reset step was skipped).

824 stars
0 votes
0 copies
1 views
Added 10/5/2026
databash

Security Analysis

A100/100

Scanned 10/5/2026

$npx -y skills add rweekly/rweekly.org --skill reset-draft --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reset Draft?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Reset Draft
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rweekly-reset-draft/badge)](https://www.skillsdirectory.com/skills/rweekly-reset-draft)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: reset-draft
description: Reset draft.md from for-editor-only-draft.txt for the next R Weekly issue, carrying over any links contributors added after the last release. Use when draft.md still holds an already-published issue (e.g. /release's reset step was skipped).
disable-model-invocation: true
allowed-tools: Read, Write, Edit, Bash
---

# Reset the R Weekly Draft

Replace `draft.md` with a fresh copy of `for-editor-only-draft.txt` for the next issue. Keep any content that was added after the last release (usually merged contributor PRs) so it isn't lost.

## Steps

### Step 1: Find the last published issue

```bash
ls _posts/ | sort | tail -1
```

For example, `2026-09-28-2026-W40.md` means the last issue was `2026-W40`, so the next one is `2026-W41`. Cross-check against `date +%G-W%V` and use whichever is later. At a year boundary, use the ISO week from `date`.

### Step 2: Check whether a reset is needed

Read `draft.md`'s `title:`.
- If it already names the next issue (e.g. `R Weekly 2026-W41`) and its `### Highlight` links aren't in the last post, the draft is already reset. Tell the editor and stop.
- If it names the last published issue, or `W00`, continue.

### Step 3: Find content to carry over

List every link in `draft.md` that isn't in the last published post:

```bash
LAST=_posts/$(ls _posts/ | sort | tail -1)
grep -oE '\]\(https?://[^)]+\)' draft.md | sort -u | while read l; do grep -qF "$l" "$LAST" || echo "$l"; done
```

Ignore the boilerplate links that are already in `for-editor-only-draft.txt`.

For each remaining link, record:
- its full entry from `draft.md` (the `+ [Title](URL)` line plus any description, wrapped continuation lines, and an image line directly under it), and
- its section heading.

Also look for non-link content that is new, such as embeds in `### rtistry` or `### Quotes of the Week` that aren't in the last post. Carry those over too.

### Step 4: Confirm with the editor

Show what will happen before writing anything:

```
Last published: 2026-W40 (_posts/2026-09-28-2026-W40.md)
draft.md currently: R Weekly 2026-W40 (stale)
New draft title: R Weekly 2026-W41

Carrying over N item(s):
  [Resources] + [Title](URL)
  [Tutorials] + [Title](URL)
  ...
```

**Wait for the editor's confirmation.**

### Step 5: Write the new draft

1. Read `for-editor-only-draft.txt` and change the title from `R Weekly YYYY-W00` to the next issue (e.g. `R Weekly 2026-W41`).
2. Use the Write tool to overwrite `draft.md` with it.
3. Use the Edit tool to put each carried-over entry back in its original section, keeping the exact text and the blank lines between entries.
4. Never carry anything into `### Highlight`; that section should start empty.

### Step 6: Verify and report

Re-run the Step 3 check against the new `draft.md`. Every carried-over URL should be present, and nothing from the last post should remain.

Tell the editor:
- the new title,
- how many items were carried over, and to which sections.

Don't commit. Let the editor review the diff.

Attribution

rweeklyrweekly
View sourceSee grades on GitHubMore from rweekly →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Rank Tracker

This skill helps you track, analyze, and report on keyword ranking positions over time. It monitors both traditional SERP rankings and AI/GEO visibility to provide comprehensive search performance insights.

1821 votes

Youtube Competitor Analyzer

Find and analyze YouTube competitor channels using YouTube Data API v3. Discover competitors through keyword search, category matching, content similarity, and related channel discovery. Compare metrics, content strategies, and market positioning. Use when users want to (1) Find competitors for their YouTube channel, (2) Analyze competitor performance metrics, (3) Compare their channel against competitors, (4) Identify content gaps and opportunities, (5) Benchmark against similar creators, (6...

31 votes

Xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the...

1798860 votes

Weather Fetcher

Instructions for fetching current weather temperature data for Karachi, Pakistan from wttr.in API

672240 votes

Weather

Get current weather and forecasts (no API key required).

486960 votes
View all in data →