Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.
savvy-webPublic archive

About

A collection of shared utilities to make git committing painless

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

121 Commits

Folders and files

Repository files navigation

savvy-web-lint-staged

Caution

This package is deprecated and no longer maintained. Its lint-staged handlers now ship in @savvy-web/silk, driven by the savvy CLI (savvy lint replaces savvy-lint). Sources live in the Silk Suite monorepo. No further releases, fixes, or security patches will be published here.

Monorepo containing the @savvy-web/lint-staged npm package and a Claude Code companion plugin for code quality context injection.

Packages

@savvy-web/lint-staged

Composable, configurable lint-staged handlers for pre-commit hooks. Provides reusable handlers for Biome, Markdown, YAML, TypeScript, and more.

See the full package documentation at package/README.md.

Claude Code plugin

A companion plugin that injects code quality context at the start of every Claude Code session. It detects your project's tooling and informs the agent about:

  • Biome formatting and linting rules (indent style, line width, import conventions)
  • markdownlint configuration (enabled rules, allowed HTML elements, table style)
  • TypeScript conventions (strict mode, ESM imports, verbatimModuleSyntax)

This means Claude Code automatically follows your project's code style without needing to be told each session.

Plugin installation

# Add the Savvy Web plugin marketplace (one-time setup)
/plugin marketplace add savvy-web/systems

# Install the lint-staged plugin for this project
/plugin install lint-staged@savvy-web-systems --scope project

Repository structure

lint-staged/
├── package/              # @savvy-web/lint-staged npm package
│   ├── src/              # Package source code
│   ├── package.json
│   └── README.md
├── plugin/               # Claude Code companion plugin
│   ├── .claude-plugin/   # Plugin manifest
│   └── hooks/            # SessionStart hook
├── lib/configs/          # Shared lint configs (markdownlint, lint-staged)
├── docs/                 # Repository documentation
├── package.json          # Workspace root
├── pnpm-workspace.yaml
├── turbo.json
└── biome.jsonc

Development

# Install dependencies
pnpm install

# Build all outputs
pnpm run build

# Run tests
pnpm run test

# Lint with Biome
pnpm run lint

# Fix lint issues
pnpm run lint:fix

# Lint markdown
pnpm run lint:md

# Type-check with tsgo
pnpm run typecheck

License

MIT

About

A collection of shared utilities to make git committing painless

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages