@haus-tech/haus-workflow 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/README.md +60 -0
  3. package/dist/cli.d.ts +1 -0
  4. package/dist/cli.js +3232 -0
  5. package/docs/user-guide.md +176 -0
  6. package/library/catalog/allowed-stacks.json +73 -0
  7. package/library/catalog/haus-lock.schema.json +43 -0
  8. package/library/catalog/manifest.json +696 -0
  9. package/library/catalog/sources.yaml +411 -0
  10. package/library/global/agents/haus-code-reviewer.md +27 -0
  11. package/library/global/agents/haus-docs-researcher.md +26 -0
  12. package/library/global/agents/haus-planner.md +26 -0
  13. package/library/global/agents/haus-security-reviewer.md +26 -0
  14. package/library/global/agents/haus-test-reviewer.md +26 -0
  15. package/library/global/settings-fragments/hooks.json +31 -0
  16. package/library/global/skills/haus-workflow/SKILL.md +56 -0
  17. package/library/global/templates/haus-way-of-work.md +40 -0
  18. package/package.json +88 -0
  19. package/tests/README.md +70 -0
  20. package/tests/fixtures/catalog/agents/code-reviewer.md +15 -0
  21. package/tests/fixtures/catalog/agents/docs-researcher.md +15 -0
  22. package/tests/fixtures/catalog/agents/planner.md +15 -0
  23. package/tests/fixtures/catalog/agents/security-reviewer.md +15 -0
  24. package/tests/fixtures/catalog/agents/test-reviewer.md +15 -0
  25. package/tests/fixtures/catalog/manifest.json +696 -0
  26. package/tests/fixtures/catalog/skills/auth-oidc-azure-bankid-patterns/SKILL.md +9 -0
  27. package/tests/fixtures/catalog/skills/database-patterns/SKILL.md +9 -0
  28. package/tests/fixtures/catalog/skills/dotnet-patterns/SKILL.md +9 -0
  29. package/tests/fixtures/catalog/skills/dotnet-service-patterns/SKILL.md +9 -0
  30. package/tests/fixtures/catalog/skills/global-engineering-rules/SKILL.md +9 -0
  31. package/tests/fixtures/catalog/skills/laravel-nova-patterns/SKILL.md +9 -0
  32. package/tests/fixtures/catalog/skills/laravel-patterns/SKILL.md +9 -0
  33. package/tests/fixtures/catalog/skills/nestjs-graphql-patterns/SKILL.md +9 -0
  34. package/tests/fixtures/catalog/skills/nextjs-patterns/SKILL.md +9 -0
  35. package/tests/fixtures/catalog/skills/nx21-monorepo-patterns/SKILL.md +9 -0
  36. package/tests/fixtures/catalog/skills/package-manager-yarn4-pnpm89/SKILL.md +9 -0
  37. package/tests/fixtures/catalog/skills/phpunit-patterns/SKILL.md +9 -0
  38. package/tests/fixtures/catalog/skills/playwright-patterns/SKILL.md +9 -0
  39. package/tests/fixtures/catalog/skills/production-readiness-review/SKILL.md +9 -0
  40. package/tests/fixtures/catalog/skills/radix-shadcn-patterns/SKILL.md +9 -0
  41. package/tests/fixtures/catalog/skills/react19-patterns/SKILL.md +9 -0
  42. package/tests/fixtures/catalog/skills/security-review/SKILL.md +9 -0
  43. package/tests/fixtures/catalog/skills/storybook-patterns/SKILL.md +9 -0
  44. package/tests/fixtures/catalog/skills/tailwind-scss-patterns/SKILL.md +9 -0
  45. package/tests/fixtures/catalog/skills/tanstack-query-router-patterns/SKILL.md +9 -0
  46. package/tests/fixtures/catalog/skills/testing-library-patterns/SKILL.md +9 -0
  47. package/tests/fixtures/catalog/skills/turbo-monorepo-patterns/SKILL.md +9 -0
  48. package/tests/fixtures/catalog/skills/typescript6-patterns/SKILL.md +9 -0
  49. package/tests/fixtures/catalog/skills/vendure-app-patterns/SKILL.md +9 -0
  50. package/tests/fixtures/catalog/skills/vendure-plugin-patterns/SKILL.md +9 -0
  51. package/tests/fixtures/catalog/skills/vite8-patterns/SKILL.md +9 -0
  52. package/tests/fixtures/catalog/skills/vue-patterns/SKILL.md +9 -0
  53. package/tests/fixtures/catalog/skills/wordpress-acf-elementor-jetengine-patterns/SKILL.md +9 -0
  54. package/tests/fixtures/catalog/skills/wordpress-bedrock-patterns/SKILL.md +9 -0
  55. package/tests/fixtures/catalog/skills/wordpress-patterns/SKILL.md +9 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1 @@
1
+ # Changelog
package/README.md ADDED
@@ -0,0 +1,60 @@
1
+ # haus
2
+
3
+ `haus` is a Haus-owned Claude Code workflow CLI.
4
+ It scans a repo, recommends stack-fit context assets, and writes controlled `.claude` + `.haus-workflow` outputs.
5
+
6
+ > **Internal Haus tool.** Open-source but unsupported for external use. No external issues, PRs, or roadmap commitments accepted.
7
+
8
+ - CLI: `haus`
9
+ - Runtime: Node `>=22`
10
+ - npm: `@haus-tech/haus-workflow`
11
+
12
+ ## Quick start
13
+
14
+ ```bash
15
+ npm install -g @haus-tech/haus-workflow
16
+ haus --version
17
+ ```
18
+
19
+ Then, inside any project:
20
+
21
+ ```bash
22
+ haus init
23
+ ```
24
+
25
+ ## Main commands
26
+
27
+ ```bash
28
+ haus init # first-run setup for new projects
29
+ haus setup-project # reconfigure an existing setup
30
+ haus scan --json
31
+ haus recommend --json
32
+ haus apply --dry-run
33
+ haus apply --write
34
+ haus doctor
35
+ haus update --check
36
+ haus update
37
+ ```
38
+
39
+ ## Contributing
40
+
41
+ ```bash
42
+ yarn install
43
+ yarn verify # typecheck + typecheck:scripts + lint + build + test + prepack (incl. audit scripts)
44
+ ```
45
+
46
+ See [Contributing](docs/contributing.md) for workflows (commands, scanner, catalog, skills, hooks, source decisions).
47
+
48
+ ## Docs
49
+
50
+ - [User guide](docs/user-guide.md)
51
+ - [Architecture](docs/architecture.md)
52
+ - [Commands](docs/commands.md)
53
+ - [Technical guide](docs/technical-guide.md)
54
+ - [Dependencies policy](docs/dependencies.md)
55
+ - [Generated files](docs/generated-files.md)
56
+ - [Security](docs/security.md)
57
+ - [Memory](docs/memory.md)
58
+ - [Updates and lockfile](docs/updates.md)
59
+ - [Global install layout](docs/global-install.md)
60
+ - [Contributing](docs/contributing.md)
package/dist/cli.d.ts ADDED
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node