How sarkhandigitech/sarkhans-claude-starter works
Sarkhan’s Claude Starter packages Claude Code project guidance and enforcement, with two main entry points: a cross-platform plugin and a macOS project-management app. The app discovers projects, lets users configure them, and invokes the installer to set up or update project-local rules; Claude sessions then receive context and skills while hooks enforce guardrails. Team rules, stack-specific guidance, security testing, and update management are additional capabilities. Some plugin wiring is documented but not fully sampled, so those links use README evidence only.
Main entry points: StarterModel.swift Project operations · plugin.json Claude Code plugin · App.swift Starter app · session-context.mjs Session context
Components 23
macOS app
- Starter app
macos-app/Sources/App.swift - Project browser
macos-app/Sources/MainView.swift - Project settings
macos-app/Sources/ProjectDetailView.swift - Setup wizard
macos-app/Sources/SetupView.swift - App settings
macos-app/Sources/SettingsViews.swift - Skill manager
macos-app/Sources/SkillViews.swift - Project operations
macos-app/Sources/StarterModel.swift - Command runner
macos-app/Sources/Shell.swift - App updater
macos-app/Sources/Updater.swift
Project setup
- Project installer
claude-web-starter/install.mjs
Claude plugin
- Claude Code plugin
plugins/sarkhans-starter/.claude-plugin/plugin.json - Session context
plugins/sarkhans-starter/hooks/session-context.mjs - Prompt routing
plugins/sarkhans-starter/hooks/prompt-router.mjs - Guardrail hooks
plugins/sarkhans-starter/hooks - Language checks
plugins/sarkhans-starter/hooks/languages.mjs - Database review
plugins/sarkhans-starter/hooks/db-lint.mjs
Guidance and skills
- Project template
claude-web-starter/template - Team rules
plugins/sarkhans-starter/hooks/team.mjs - Specialist agents
plugins/sarkhans-starter/agents - Workflow skills
plugins/sarkhans-starter/skills - Stack guidance
plugins/sarkhans-starter/rules - Security testing
plugins/sarkhans-starter/skills/pentest/SKILL.md
Other components
- Project owner
Connections 24
- Project owner → Starter app: manages projects
README.md - Starter app → Setup wizard: shows setup
macos-app/Sources/App.swift - Starter app → Project browser: shows projects
macos-app/Sources/App.swift - Project browser → Project operations: requests setup
macos-app/Sources/MainView.swift - Project settings → Project operations: sets project options
macos-app/Sources/ProjectDetailView.swift - Setup wizard → Project operations: configures setup
macos-app/Sources/SetupView.swift - App settings → Project operations: configures settings
macos-app/Sources/SettingsViews.swift - Skill manager → Project operations: manages skills
macos-app/Sources/SkillViews.swift - Project operations → Command runner: runs commands
macos-app/Sources/StarterModel.swift - Project operations → Project installer: invokes installer
macos-app/Sources/StarterModel.swift - Project operations → App updater: checks updates
macos-app/Sources/StarterModel.swift - Project owner → Project installer: installs directly
README.md - Project installer → Project template: installs project guidance
README.md - Project owner → Claude Code plugin: installs plugin
README.md - Claude Code plugin → Session context: provides session context
README.md - Claude Code plugin → Prompt routing: routes prompts
- Claude Code plugin → Guardrail hooks: enforces actions
README.md - Guardrail hooks → Language checks: checks edited code
plugins/sarkhans-starter/hooks/post-edit.mjs - Guardrail hooks → Database review: reviews database changes
README.md - Session context → Team rules: loads team rules
plugins/sarkhans-starter/hooks/session-context.mjs - Session context → Stack guidance: identifies stack guidance
plugins/sarkhans-starter/hooks/session-context.mjs - Claude Code plugin → Specialist agents: provides agents
README.md - Claude Code plugin → Workflow skills: provides workflows
README.md - Workflow skills → Security testing: includes pentest workflow
README.md