Commit Graph
20 Commits
Author SHA1 Message Date
asepharyana abd60c607d feat(hooks): skill injection with EXTREMELY_IMPORTANT framing
- Follow obra/superpowers pattern: <EXTREMELY_IMPORTANT> wrapper
- Clear instruction that these are loaded skills, not passive text
- 8 mandatory skill contents injected before any user interaction
- Detected skills listed for on-demand loading via Skill tool
- SessionStart hook now properly primes Claude with all rules
2026-07-25 17:51:51 +07:00
asepharyana 0604df8fe2 feat(hooks): inject skill content at session start (superpowers pattern)
- SessionStart hook now reads MANDATORY SKILL.md files and injects
  full content into conversation context before any user interaction
- Uses XML-like tags (<hub-guide-skills>, <skill>) to structure context
- Keeps project detection for active skills
- Follows obra/superpowers pattern: load skill content before explore
2026-07-25 17:49:12 +07:00
asepharyana c8c84c35fc feat: add principle #28 — Never Suppress Lints, Fix the Code
- New engineering-principle: never #[allow], @ts-ignore, # noqa — fix instead
- Rust skill: add explicit #[allow(clippy::...)] anti-pattern with examples
- Also covers eslint-disable, ts-ignore, noqa, go vet
- Single exceptions: false positives, generated code, phased migration (<30d)
- CI enforcement commands for Rust/TS/Python/Go
2026-07-25 14:58:13 +07:00
asepharyana af202add20 fix: restore full clean-code and clean-architecture descriptions with MANDATORY prefix 2026-07-25 13:10:52 +07:00
asepharyana 0aebde93ea feat: mark clean-code & clean-architecture as MANDATORY
- Add MANDATORY prefix to clean-code and clean-architecture descriptions
- Change 'core skills' to 'mandatory' in detect-project.sh output
- Both skills now always active, not just context-triggered
2026-07-25 13:07:10 +07:00
asepharyana a0f8796ebd fix(hooks): restore SessionStart + PreToolUse command hooks
Restore detect-project.sh, detect-file-type.sh, and hooks.json
from working version (80feaf2) with prompt-detection guidance lines.
2026-07-25 13:05:18 +07:00
asepharyana 082c8bc5b5 feat(hooks): detect from prompt not files
- Replace command-based SessionStart/PreToolUse hooks with prompt-based Stop hook
- Stop hook reads user's prompt and activates relevant skills concept-based
- Remove obsolete detect-project.sh, detect-file-type.sh, setup-hooks.sh
- Detection is concept-based regardless of spoken language
2026-07-25 13:03:38 +07:00
asepharyana 8af189167d fix(hub-guide): make hook output language-neutral
Remove English hardcoded sentences from detect-project.sh and detect-file-type.sh.
Output is now structured labels (emoji + key: value) without linguistic content.
2026-07-25 13:01:03 +07:00
asepharyana 5780d94ccf feat(hub-guide): language-agnostic auto-trigger across all skills
- Add principle 27: 'Language-Agnostic Auto-Trigger' to engineering-principles
- Remove hardcoded English-only keyword lists from all 26 skill descriptions
- Replace with concept-based detection: triggers from code context, project files,
  and file types regardless of spoken language
- Update detect-project.sh hook output with language-agnostic message
2026-07-25 12:59:43 +07:00
asepharyana 1fa4a03b84 feat(engineering-principles): add principle #26 — use Workflow for complex tasks
- New principle: 'Use Multi-Agent Workflows for Complex Tasks — Dont Go Solo'
- Trigger phrases in description: complex, big, multi-step, comprehensive, audit, migrate, etc.
- Quality patterns: adversarial verify, multi-modal sweep, completeness critic, loop-until-dry
- Guidance on pipeline vs barrier selection
2026-07-25 12:56:00 +07:00
asepharyana 3a559a58f6 feat(hub-guide): add 'ask when ambiguous' principle across skills
- Add principle #25 to engineering-principles: 'Ask When Ambiguous'
- Add 'Ask When Ambiguous' section to design-patterns and clean-architecture
- Update detect-project.sh hook to reinforce ask-don't-assume behavior
2026-07-25 12:05:00 +07:00
asepharyana 80feaf2f16 fix(hub-guide): add nested hooks array in hooks.json entries
Each event entry needs hooks: [{ type, command, timeout }] inside it.
2026-07-25 11:59:34 +07:00
asepharyana 7435566498 fix(hub-guide): correct hooks.json format and remove redundant manifest field
- hooks.json needs 'hooks' wrapper key at top level
- Remove 'hooks' field from plugin.json (auto-discovered from hooks/hooks.json)
- Simplify hook entries (no nested hooks array)
2026-07-25 11:58:44 +07:00
asepharyana 2d05b8a9e0 chore(hub-guide): remove stray symlink in repo 2026-07-25 11:56:44 +07:00
asepharyana 75cbe31bac fix(hub-guide): install as one unit ~/.claude/skills/hub-guide/
Not split per-skill directory. Single symlink/copy of the entire plugin. Skills are
auto-discovered from ~/.claude/skills/<name>/skills/<skill>/SKILL.md.
2026-07-25 11:56:26 +07:00
asepharyana 39f3f093fe fix(hub-guide): correct install target to ~/.claude/skills/
Skills go directly to ~/.claude/skills/<name>/ (not ~/.claude/plugins/).
Hooks configured via setup-hooks.sh -> settings.local.json.

Changes:
- install.sh: targets ~/.claude/skills/, no settings.json registration needed
- install.ps1: updated to match
- setup-hooks.sh: new script to add hooks to settings.local.json
- README: fix install instructions
- Remove nested .claude-plugin directory
- 26 skills symlinked to ~/.claude/skills/
2026-07-25 11:54:26 +07:00
asepharyana 42ef7e30f4 feat(hub-guide): add install scripts with settings.json registration
- install.sh: copies/symlinks plugin to ~/.claude/plugins/ + auto-register in settings.json
- install.ps1: PowerShell variant for Windows
- Fix .claude-plugin nesting issue in install_item
- Remove --project flag (unnecessary complexity)
- Add progress echo for manifest installation
2026-07-25 11:51:39 +07:00
asepharyana e513cddd68 feat(hub-guide): expand plugin with 26 best-practice skills, hooks, and references
Transform hub-guide from a single-skill Hub monorepo guide into a
comprehensive programming best-practice plugin covering all situations.

Skills (26):
- Core: engineering-principles, clean-code, clean-architecture,
  design-patterns, testing, error-handling, security, api-design,
  git-workflow, documentation, logging-observability, performance
- Languages: typescript, python, rust, go
- Frameworks: react-frontend, elysiajs, hono-backend, drizzle-database, nextjs
- Infrastructure: docker, ci-cd, monitoring
- Monorepo: monorepo, hub-guide (existing)

Hooks:
- SessionStart: auto-detect project type and activate relevant skills
- PreToolUse (Write|Edit): inject language-specific rules per file type

Reference files for deep dives:
- clean-architecture/references/solid.md (SOLID + component principles)
- design-patterns/references/catalog.md (full GoF catalog with examples)
- testing/references/mocks.md (test double taxonomy)

Restructure plugin to modern skills/ directory format.
2026-07-25 11:35:16 +07:00
asepharyana ecdce01387 feat: initial hub-guide Claude Code plugin
- plugin.json manifest with hub-guide skill
- Skill: monorepo guidance (submodules, infra, dev workflow, debugging)
2026-07-25 10:53:29 +07:00
asepharyanaandGitHub 6e5b2f848d Initial commit 2026-07-25 10:52:51 +07:00