본문으로 건너뛰기
cccskills
무료GitHub에 공개

blogwatcher-cli

Use when managing or interacting with favorite blogs via the BlogWatcher CLI—adding/removing blogs, scanning for new posts, listing articles, marking read/unread, or modifying related CLI behavior, scanning, storage, and tests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(29)

  • SKILL.md2.2 KB
  • .github/workflows/release.yml736 B
  • .gitignore86 B
  • .goreleaser.yaml1.0 KB
  • AGENTS.md2.2 KB
  • CLAUDE.md863 B
  • cmd/blogwatcher/main.go98 B
  • go.mod1.2 KB
  • go.sum13.7 KB
  • internal/cli/commands.go11.9 KB
  • internal/cli/errors.go330 B
  • internal/cli/metadata_test.go7.1 KB
  • internal/cli/metadata.go2.4 KB
  • internal/cli/root.go900 B
  • internal/controller/controller_test.go2.3 KB
  • internal/controller/controller.go3.5 KB
  • internal/model/model.go451 B
  • internal/rss/rss_test.go10.9 KB
  • internal/rss/rss.go9.8 KB
  • internal/scanner/scanner_test.go7.6 KB
  • internal/scanner/scanner.go5.6 KB
  • internal/scraper/scraper_test.go882 B
  • internal/scraper/scraper.go2.8 KB
  • internal/storage/database_test.go15.6 KB
  • internal/storage/database.go12.8 KB
  • internal/version/version.go37 B
  • LICENSE1.0 KB
  • README.md7.5 KB
  • skills/SKILL.md945 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

BlogWatcher CLI

Quick Orientation

  • Use the Cobra entry point in cmd/blogwatcher/main.go and internal/cli/.
  • Route business logic through internal/controller and persistence through internal/storage.
  • Use scanning pipeline packages in internal/scanner, internal/rss, and internal/scraper.
  • Remember the default SQLite path is ~/.blogwatcher/blogwatcher.db (override with BLOGWATCHER_DB) and is created on demand.

Run Commands

  • Run locally with go run ./cmd/blogwatcher ....
  • Build with go build ./cmd/blogwatcher.

Change Workflow

  1. Add or adjust CLI commands in internal/cli/commands.go (Cobra options, arguments, output formatting).
  2. Put non-trivial logic in internal/controller so the CLI stays thin and testable.
  3. Update storage or schema in internal/storage/database.go and adjust model conversion in internal/model if needed.
  4. Modify scanning behavior in internal/scanner and its helpers (internal/rss, internal/scraper).
  5. Update or add tests under internal/ or cmd/ for every feature change or addition.

Test Guidance

  • Run tests with go test ./....
  • If you add a feature, add tests and any necessary dummy data.
  • Keep tests focused on CLI behavior, controller logic, and scraper/RSS parsing outcomes.

Output Conventions

  • Preserve user-friendly CLI output with colors and clear errors.
  • When listing posts available for reading, always include the link to each post in the output.
  • Keep error handling consistent with existing exceptions (BlogNotFoundError, BlogAlreadyExistsError, ArticleNotFoundError).

Example (posts available for reading)

Unread articles (2):

  [12] [new] Understanding Click Contexts
       Blog: Real Python
       URL: https://realpython.com/click-context/
       Published: 2025-11-02

  [13] [new] Async IO in Practice
       Blog: Test & Code
       URL: https://testandcode.com/async-io-in-practice/

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Hyaxia/blogwatcher1492026년 9월 1일 업데이트

Hyaxia의 스킬 모두 보기

이 스킬의 문제 신고