Skip to content
hn-analysis logo

Hacker News Post Analysis

hn-analysis

Analyze Hacker News posts and discussions to extract insights from tech community discourse. Use when the user mentions Hacker News, HN, news.ycombinator, YC, or provides a HN URL.

SKILL.md

Full skill instructions

Hacker News Post Analysis

Analyze Hacker News posts and their discussions to generate structured reports covering both linked content and community insights.

When to Use

Activate this skill when the user:

  • Mentions "Hacker News", "HN", "Y Combinator news"
  • Provides a news.ycombinator.com URL
  • Asks about a HN discussion or comments
  • Mentions "Show HN", "Ask HN", or "Launch HN"
  • Wants to understand tech community sentiment on a topic

Instructions

  1. Parse the HN URL:
    • Accept news.ycombinator.com/​item?id=XXXXX format
    • Extract item ID
  2. Fetch the HN post using WebFetch:
    • Get post title, link, points, author
    • Get top comments (aim for 20-30 top comments)
  3. If post links to content: Also fetch linked article
  4. If fetching fails:
    • Inform user of issue
    • Suggest checking URL format
    • Stop here
  5. Read the analysis prompt from prompts/​hn.md
  6. Extract metadata:
    • Title, author, points
    • Post type (Show HN, Ask HN, etc.)
    • Comment count
  7. Generate analysis covering both content AND discussion
  8. Create output directory reports/​hackernews/ if needed
  9. Save the report to reports/​hackernews/​YYYY-MM-DD_sanitized-title.md
  10. Update the activity log at logs/​YYYY-MM-DD.md:
    • Add entry under "## HN Discussions" section
    • Format: - [Title](../​reports/​hackernews/​filename.md) - HH:MM
  11. Confirm to user what was saved

Report Format

# [Post Title]

**Source**: [HN URL]
**Linked Content**: [Original URL if any]
**Points**: [Score]
**Comments**: [Count]
**Date**: YYYY-MM-DD
**Type**: Hacker News Discussion

---

[Analysis content following prompts/​hn.md structure]

---

## My Notes

[Empty space for user notes]

Error Handling

  • If URL format wrong: Suggest correct format
  • If post deleted: Inform user
  • If comments fail: Analyze post only
  • If prompts/​hn.md missing: Use prompts/​default.md

Related

  • Slash command: /​hn <url>
  • Prompt file: prompts/​hn.md
  • Output: reports/​hackernews/

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View