actionbook/rust-skills

rust-daily

CRITICAL: Use for Rust news and daily/weekly/monthly reports.

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/actionbook/rust-skills --skill rust-daily

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

Rust Daily Report

Version: 2.1.0 | Last Updated: 2025-01-27

Fetch Rust community updates, filtered by time range.

Data Sources

CategorySources
EcosystemReddit r/rust, This Week in Rust
Officialblog.rust-lang.org, Inside Rust
Foundationrustfoundation.org (news, blog, events)

Parameters

  • time_range: day | week | month (default: week)
  • category: all | ecosystem | official | foundation

Execution Mode Detection

CRITICAL: Check agent file availability first to determine execution mode.

Try to read: ../../agents/rust-daily-reporter.md


Agent Mode (Plugin Install)

When `../../agents/rust-daily-reporter.md` exists:

Workflow

1. Read: ../../agents/rust-daily-reporter.md
2. Task(subagent_type: "general-purpose", run_in_background: false, prompt: <agent content>)
3. Wait for result
4. Format and present to user

Inline Mode (Skills-only Install)

When agent file is NOT available, execute each source directly:

1. Reddit r/rust

bash
# Using agent-browser CLI
agent-browser open "https://www.reddit.com/r/rust/hot/"
agent-browser get text ".Post" --limit 10
agent-browser close

Or with WebFetch fallback:

WebFetch("https://www.reddit.com/r/rust/hot/", "Extract top 10 posts with scores and titles")

Parse output into:

ScoreTitleLink

2. This Week in Rust

bash
# Check actionbook first
mcp__actionbook__search_actions("this week in rust")
mcp__actionbook__get_action_by_id(<action_id>)

# Then fetch
agent-browser open "https://this-week-in-rust.org/"
agent-browser get text "<selector_from_actionbook>"
agent-browser close

Parse output into:

  • Issue #{number} ({date}): highlights

3. Rust Blog (Official)

bash
agent-browser open "https://blog.rust-lang.org/"
agent-browser get text "article" --limit 5
agent-browser close

Or with WebFetch fallback:

WebFetch("https://blog.rust-lang.org/", "Extract latest 5 blog posts with dates and titles")

Parse output into:

DateTitleSummary

4. Inside Rust

bash
agent-browser open "https://blog.rust-lang.org/inside-rust/"
agent-browser get text "article" --limit 3
agent-browser close

Or with WebFetch fallback:

WebFetch("https://blog.rust-lang.org/inside-rust/", "Extract latest 3 posts with dates and titles")

5. Rust Foundation

bash
# News
agent-browser open "https://rustfoundation.org/media/category/news/"
agent-browser get text "article" --limit 3
agent-browser close

# Blog
agent-browser open "https://rustfoundation.org/media/category/blog/"
agent-browser get text "article" --limit 3
agent-browser close

# Events
agent-browser open "https://rustfoundation.org/events/"
agent-browser get text "article" --limit 3
agent-browser close

Time Filtering

After fetching all sources, filter by time range:

RangeFilter
dayLast 24 hours
weekLast 7 days
monthLast 30 days

Combining Results

After fetching all sources, combine into the output format below.


Tool Chain Priority

Both modes use the same tool chain order:

  1. actionbook MCP - Check for cached/pre-fetched content first
   mcp__actionbook__search_actions("rust news {date}")
   mcp__actionbook__search_actions("this week in rust")
   mcp__actionbook__search_actions("rust blog")
  1. agent-browser CLI - For dynamic web content
bash
   agent-browser open "<url>"
   agent-browser get text "<selector>"
   agent-browser close
  1. WebFetch - Fallback if agent-browser unavailable
SourcePrimary ToolFallback
Redditagent-browserWebFetch
TWIRactionbook → agent-browserWebFetch
Rust Blogactionbook → WebFetch-
Foundationactionbook → WebFetch-

DO NOT use:

  • Chrome MCP directly
  • WebSearch for fetching news pages

Output Format

markdown
# Rust {Weekly|Daily|Monthly} Report

**Time Range:** {start} - {end}

## Ecosystem

### Reddit r/rust
| Score | Title | Link |
|-------|-------|------|
| {score} | {title} | [link]({url}) |

### This Week in Rust
- Issue #{number} ({date}): highlights

## Official
| Date | Title | Summary |
|------|-------|---------|
| {date} | {title} | {summary} |

## Foundation
| Date | Title | Summary |
|------|-------|---------|
| {date} | {title} | {summary} |

Validation

  • Each source should have at least 1 result, otherwise mark "No updates"
  • On fetch failure, retry with alternative tool
  • Report reason if all tools fail for a source

Error Handling

ErrorCauseSolution
Agent file not foundSkills-only installUse inline mode
agent-browser unavailableCLI not installedUse WebFetch
Site timeoutNetwork issuesRetry once, then skip source
Empty resultsSelector mismatchReport and use fallback

Tâches connexes

du même dépôt

Autres Skills

Tous les Skills
actionbook
Communauté

coding-guidelines

Use when asking about Rust code style or best practices. Keywords: naming, formatting, comment, clippy, rustfmt, lint, code style, best practice, P.NAM, G.FMT, code review, naming convention, variable naming, function naming, type naming, 命名规范, 代码风格, 格式化, 最佳实践, 代码审查, 怎么命名

installations
2
GitHub Stars
1,5 k
Mis à jour
23 août
actionbook
Communauté

m03-mutability

CRITICAL: Use for mutability issues. Triggers: E0596, E0499, E0502, cannot borrow as mutable, already borrowed as immutable, mut, &mut, interior mutability, Cell, RefCell, Mutex, RwLock, 可变性, 内部可变性, 借用冲突

installations
2
GitHub Stars
1,5 k
Mis à jour
23 août
actionbook
Communauté

m04-zero-cost

CRITICAL: Use for generics, traits, zero-cost abstraction. Triggers: E0277, E0308, E0599, generic, trait, impl, dyn, where, monomorphization, static dispatch, dynamic dispatch, impl Trait, trait bound not satisfied, 泛型, 特征, 零成本抽象, 单态化

installations
2
GitHub Stars
1,5 k
Mis à jour
23 août
actionbook
Communauté

m06-error-handling

CRITICAL: Use for error handling. Triggers: Result, Option, Error, ?, unwrap, expect, panic, anyhow, thiserror, when to panic vs return Result, custom error, error propagation, 错误处理, Result 用法, 什么时候用 panic

installations
2
GitHub Stars
1,5 k
Mis à jour
23 août