How ykdojo/claude-code-tips works
1. This repository is a documentation-and-tooling package centered on Claude Code workflows. The primary “product” is the long-form tip guide in README.md, with supporting articles under content/, reusable utilities under scripts/, and Claude Code automation packaged as skills/ plus a plugin manifest.
2. The content layer is mostly markdown and HTML. README.md is the main entry point and table of contents for the tips. Additional standalone posts live in content/*.md, and a few slide/demo pages live in content/*.html. These are presentation assets rather than application logic.
3. assets/ contains images and media referenced by the README and content pages. It supports the narrative and demo sections, but does not drive any runtime behavior.
4. The scripts/ directory is the operational core. It contains shell and Node utilities for status-line rendering, context management, conversation cloning, setup, previewing colors, and generating a table of contents. These scripts are meant to be run locally inside a user’s Claude Code environment.
5. Several scripts directly support Claude Code session management: context-bar.sh powers the custom status line, check-context.sh monitors token usage and can trigger half-cloning, and clone-conversation.sh / half-clone-conversation.sh copy conversation history into new sessions. This creates a workflow boundary between “active session” and “fresh session with preserved context.”
6. The skills/ directory packages reusable Claude Code behaviors as SKILL files. Each subfolder is a distinct workflow, such as GitHub Actions triage (gha), conversation cloning (clone, half-clone), handoff generation, Hacker News summarization, Reddit fetching, CLAUDE.md review, and version checking. These are invoked by Claude Code as skills or slash commands.
7. The repository also acts as a Claude Code plugin distribution. The .claude-plugin/ manifests define the plugin metadata and marketplace packaging, and the README describes installing the dx plugin from this repo. In architecture terms, the plugin is the distribution boundary that bundles selected skills into a single installable unit.
8. The workflows are designed around external services and tools that Claude Code can call: Git and GitHub CLI (gh) for repository and PR operations, Claude Code’s own slash commands and hooks, and optionally browser automation via MCP/Playwright. Those integrations are not implemented as a web backend; they are invoked from the local agent environment.
9. The repository’s data flow is mostly one-way from documentation to tooling: the README explains the workflows, the skills and scripts implement them, and the plugin manifest exposes them for installation. In use, a user reads the guide, installs the plugin or scripts, and then Claude Code executes local shell commands or skill actions on the user’s machine.
10. content/3d/ is a separate mini-subsystem for interactive visual examples. It includes JavaScript modules and a build.js script for assembling 3D demo artifacts such as bat and cube visuals. This is presentation/demo code, isolated from the Claude Code workflow tooling.
11. There is a clear boundary between “reference material” and “automation.” The markdown articles explain patterns and usage; the scripts and skills encode the repeatable parts. That separation is important for the diagram: the docs are the user-facing knowledge layer, while scripts/ and skills/ are the executable workflow layer.
12. Overall, the repository is best diagrammed as a knowledge hub with attached local automation: README/content at the center, media assets as support, scripts as operational utilities, skills as reusable Claude Code actions, and the plugin manifests as the distribution mechanism.
Main entry points: README.md README · plugin.json Plugin · clone-conversation.sh Clone Conv · half-clone-conversation.sh Half Clone
Components 32
Reference
User-facing guides, articles, and slides.
- README · Primary tip guide and table of contents for the repository.
README.md - Global Claude · Global Claude Code guidance used alongside the tips.
GLOBAL-CLAUDE.md - CLAUDE · Repository-specific Claude Code instructions and conventions.
CLAUDE.md - New Users · Tip article for newer Claude Code users.
content/10-tips-for-newer-users.md - 5 New Tips · Short follow-up tips article.
content/5-new-tips.md - Boris Tips · Standalone Claude Code tips article.
content/boris-claude-code-tips.md - DX Submissions · Community or submission-oriented tips page.
content/dx-submissions.md - Job Story · Narrative about getting a job with Claude Code.
content/how-i-got-a-job-with-claude-code.md - Saved 10K · Narrative about cost savings with Claude Code.
content/how-i-saved-10k-with-claude-code.md - Spectrum · Concept piece about the spectrum of agentic coding.
content/spectrum-of-agentic-coding.md - Short Slides · Compact slide deck for the spectrum article.
content/spectrum-slides-short.html - Slides · Full slide deck for the spectrum article.
content/spectrum-slides.html - Tips Slides · Slide deck derived from the tips content.
content/tips-slides.html
Automation
Local scripts and Claude Code skills that execute workflows.
- TOC Gen · Script used to generate or maintain documentation structure.
scripts/generate-toc.js - Context Bar · Shell status-line renderer for Claude Code sessions.
scripts/context-bar.sh - Check Context · Monitors token usage and can trigger session cloning.
scripts/check-context.sh - Clone Conv · Copies conversation history into a fresh Claude Code session.
scripts/clone-conversation.sh - Half Clone · Creates a partial conversation clone for continued work.
scripts/half-clone-conversation.sh - Setup · Local setup and environment initialization for the tooling.
scripts/setup.sh - Color Preview · Utility for previewing terminal or theme colors.
scripts/color-preview.sh - GHA · GitHub Actions triage and workflow support.
skills/gha/SKILL.md - Clone Skill · Conversation cloning workflow packaged as a reusable skill.
skills/clone/SKILL.md - Half Clone · Half-clone workflow packaged as a reusable skill.
skills/half-clone/SKILL.md - Handoff · Creates handoff material for continuing work in another session.
skills/handoff/SKILL.md - HN Summarize · Summarizes Hacker News discussions as a Claude Code skill.
skills/hn-summarize/SKILL.md - Reddit Fetch · Fetches Reddit content for summarization or analysis.
skills/reddit-fetch/SKILL.md - CLAUDE.md Review · Reviews Claude instruction files for quality and consistency.
skills/review-claudemd/SKILL.md - Version Check · Checks versions and compatibility for the Claude Code stack.
skills/version-check/SKILL.md
Plugin
Claude Code plugin packaging and install boundary.
- Plugin · Claude Code plugin metadata and packaging entry point.
.claude-plugin/plugin.json - Marketplace · Marketplace distribution metadata for the plugin.
.claude-plugin/marketplace.json
Connections 31
- README → New Users: links to · Main guide points to supporting articles.
- README → 5 New Tips: links to · Main guide points to supporting articles.
- README → Boris Tips: links to · Main guide points to supporting articles.
- README → DX Submissions: links to · Main guide points to supporting articles.
- README → Job Story: links to · Main guide points to supporting articles.
- README → Saved 10K: links to · Main guide points to supporting articles.
- README → Spectrum: links to · Main guide points to supporting articles.
- README → Short Slides: supports · README references slide and demo material.
- README → Slides: supports · README references slide and demo material.
- README → Tips Slides: supports · README references slide and demo material.
- README → Assets: references · Docs depend on shared images and media assets.
- Spectrum → 3D Demo: drives · The spectrum article is paired with the 3D demo subsystem.
- Context Bar → Check Context: feeds · Status line and context monitoring work together.
- Check Context → Half Clone: triggers · Token pressure can cause a half-clone workflow.
- Clone Conv → Half Clone: related · Two flavors of session migration for preserved context.
- Clone Skill → Clone Conv: packages · Skill exposes the conversation clone workflow.
- Half Clone → Half Clone: packages · Skill exposes the half-clone workflow.
- Handoff → Clone Conv: supports · Handoff workflows often follow session cloning.
- TOC Gen → README: organizes · TOC generation supports the main documentation entry point.
- Setup → Context Bar: installs · Bootstrap prepares the session UI utilities.
- GHA → Plugin: bundled by · Plugin packaging exposes selected Claude Code skills.
- Clone Skill → Plugin: bundled by · Plugin packaging exposes selected Claude Code skills.
- Half Clone → Plugin: bundled by · Plugin packaging exposes selected Claude Code skills.
- Handoff → Plugin: bundled by · Plugin packaging exposes selected Claude Code skills.
- HN Summarize → Plugin: bundled by · Plugin packaging exposes selected Claude Code skills.
- Reddit Fetch → Plugin: bundled by · Plugin packaging exposes selected Claude Code skills.
- CLAUDE.md Review → Plugin: bundled by · Plugin packaging exposes selected Claude Code skills.
- Version Check → Plugin: bundled by · Plugin packaging exposes selected Claude Code skills.
- Plugin → Marketplace: described by · Manifest and marketplace metadata define distribution.
- Plugin → README: installed from · The README describes installing the dx plugin from this repo.
- 3D Demo → Assets: uses · Demo artifacts may reference shared media assets.