@grimoire-cc/cli 0.8.0 → 0.9.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 (71) hide show
  1. package/dist/bin.js +14 -25
  2. package/dist/bin.js.map +1 -1
  3. package/dist/commands/add.js +1 -1
  4. package/dist/commands/add.js.map +1 -1
  5. package/dist/commands/remove.d.ts +2 -14
  6. package/dist/commands/remove.d.ts.map +1 -1
  7. package/dist/commands/remove.js +28 -58
  8. package/dist/commands/remove.js.map +1 -1
  9. package/dist/commands/update.d.ts +13 -0
  10. package/dist/commands/update.d.ts.map +1 -0
  11. package/dist/commands/update.js +108 -0
  12. package/dist/commands/update.js.map +1 -0
  13. package/dist/index.d.ts +0 -1
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +0 -1
  16. package/dist/index.js.map +1 -1
  17. package/dist/manifest.js +5 -1
  18. package/dist/manifest.js.map +1 -1
  19. package/dist/prompt.d.ts +5 -5
  20. package/dist/prompt.d.ts.map +1 -1
  21. package/dist/prompt.js +51 -64
  22. package/dist/prompt.js.map +1 -1
  23. package/dist/remove.js +2 -2
  24. package/dist/remove.js.map +1 -1
  25. package/dist/types.d.ts +7 -5
  26. package/dist/types.d.ts.map +1 -1
  27. package/dist/version.d.ts +5 -0
  28. package/dist/version.d.ts.map +1 -0
  29. package/dist/version.js +32 -0
  30. package/dist/version.js.map +1 -0
  31. package/package.json +1 -1
  32. package/packs/dev-pack/agents/{gr.code-reviewer.md → grimoire.code-reviewer.md} +2 -1
  33. package/packs/dev-pack/agents/{gr.tdd-specialist.md → grimoire.tdd-specialist.md} +4 -3
  34. package/packs/dev-pack/grimoire.json +14 -10
  35. package/packs/dev-pack/skills/{gr.conventional-commit → grimoire.conventional-commit}/SKILL.md +4 -3
  36. package/packs/dev-pack/skills/{gr.tdd-specialist → grimoire.tdd-specialist}/SKILL.md +3 -2
  37. package/packs/dev-pack/skills/{gr.tdd-specialist → grimoire.tdd-specialist}/reference/language-frameworks.md +1 -1
  38. package/packs/docs-pack/grimoire.json +3 -2
  39. package/packs/docs-pack/skills/{gr.business-logic-docs → grimoire.business-logic-docs}/SKILL.md +2 -1
  40. package/packs/dotnet-pack/agents/{gr.csharp-code-reviewer.md → grimoire.csharp-code-reviewer.md} +2 -1
  41. package/packs/dotnet-pack/agents/{gr.csharp-coder.md → grimoire.csharp-coder.md} +3 -2
  42. package/packs/dotnet-pack/agents/{gr.dotnet-architect.md → grimoire.dotnet-architect.md} +3 -2
  43. package/packs/dotnet-pack/agents/{gr.dotnet-unit-test-writer.md → grimoire.dotnet-unit-test-writer.md} +3 -2
  44. package/packs/dotnet-pack/grimoire.json +19 -33
  45. package/packs/dotnet-pack/skills/{gr.dotnet-feature-workflow → grimoire.dotnet-feature-workflow}/SKILL.md +4 -3
  46. package/packs/essentials-pack/agents/{gr.fact-checker.md → grimoire.fact-checker.md} +3 -2
  47. package/packs/essentials-pack/grimoire.json +4 -3
  48. package/packs/meta-pack/grimoire.json +9 -6
  49. package/packs/meta-pack/skills/{gr.context-file-guide → grimoire.context-file-guide}/SKILL.md +2 -1
  50. package/packs/meta-pack/skills/{gr.readme-guide → grimoire.readme-guide}/SKILL.md +3 -2
  51. package/packs/meta-pack/skills/{gr.skill-developer → grimoire.skill-developer}/SKILL.md +4 -3
  52. package/packs/ts-pack/grimoire.json +3 -2
  53. package/packs/ts-pack/skills/{gr.modern-typescript → grimoire.modern-typescript}/SKILL.md +2 -1
  54. /package/packs/dev-pack/skills/{gr.tdd-specialist → grimoire.tdd-specialist}/reference/anti-patterns.md +0 -0
  55. /package/packs/dev-pack/skills/{gr.tdd-specialist → grimoire.tdd-specialist}/reference/tdd-workflow-patterns.md +0 -0
  56. /package/packs/docs-pack/skills/{gr.business-logic-docs → grimoire.business-logic-docs}/references/audit-checklist.md +0 -0
  57. /package/packs/docs-pack/skills/{gr.business-logic-docs → grimoire.business-logic-docs}/references/tier2-template.md +0 -0
  58. /package/packs/meta-pack/skills/{gr.context-file-guide → grimoire.context-file-guide}/scripts/validate-context-file.sh +0 -0
  59. /package/packs/meta-pack/skills/{gr.skill-developer → grimoire.skill-developer}/examples/brand-guidelines.md +0 -0
  60. /package/packs/meta-pack/skills/{gr.skill-developer → grimoire.skill-developer}/examples/financial-analysis.md +0 -0
  61. /package/packs/meta-pack/skills/{gr.skill-developer → grimoire.skill-developer}/reference/best-practices.md +0 -0
  62. /package/packs/meta-pack/skills/{gr.skill-developer → grimoire.skill-developer}/reference/file-organization.md +0 -0
  63. /package/packs/meta-pack/skills/{gr.skill-developer → grimoire.skill-developer}/reference/patterns.md +0 -0
  64. /package/packs/meta-pack/skills/{gr.skill-developer → grimoire.skill-developer}/reference/yaml-spec.md +0 -0
  65. /package/packs/meta-pack/skills/{gr.skill-developer → grimoire.skill-developer}/scripts/create-skill.sh +0 -0
  66. /package/packs/meta-pack/skills/{gr.skill-developer → grimoire.skill-developer}/scripts/validate-skill.py +0 -0
  67. /package/packs/meta-pack/skills/{gr.skill-developer → grimoire.skill-developer}/templates/basic-skill.md +0 -0
  68. /package/packs/meta-pack/skills/{gr.skill-developer → grimoire.skill-developer}/templates/domain-skill.md +0 -0
  69. /package/packs/ts-pack/skills/{gr.modern-typescript → grimoire.modern-typescript}/reference/modern-features.md +0 -0
  70. /package/packs/ts-pack/skills/{gr.modern-typescript → grimoire.modern-typescript}/reference/patterns-and-idioms.md +0 -0
  71. /package/packs/ts-pack/skills/{gr.modern-typescript → grimoire.modern-typescript}/reference/type-system.md +0 -0
@@ -3,50 +3,36 @@
3
3
  "version": "1.0.0",
4
4
  "agents": [
5
5
  {
6
- "name": "grimoire:csharp-code-reviewer",
7
- "path": "agents/gr.csharp-code-reviewer.md",
8
- "description": "Expert C#/.NET code review specialist. Use immediately after writing or modifying C# code, or when explicitly requested to review C#/.NET code quality, security, performance, and best practices. ONLY reviews C# and .NET code - declines reviews of other languages."
6
+ "name": "grimoire.csharp-code-reviewer",
7
+ "path": "agents/grimoire.csharp-code-reviewer.md",
8
+ "description": "Expert C#/.NET code review specialist. Use immediately after writing or modifying C# code, or when explicitly requested to review C#/.NET code quality, security, performance, and best practices. ONLY reviews C# and .NET code - declines reviews of other languages.",
9
+ "version": "1.0.0"
9
10
  },
10
11
  {
11
- "name": "grimoire:csharp-coder",
12
- "path": "agents/gr.csharp-coder.md",
13
- "description": "Implements C# code based on architectural decisions, predefined plans, or technical specifications. Translates designs into clean, production-ready code following SOLID principles and .NET conventions."
12
+ "name": "grimoire.csharp-coder",
13
+ "path": "agents/grimoire.csharp-coder.md",
14
+ "description": "Implements C# code based on architectural decisions, predefined plans, or technical specifications. Translates designs into clean, production-ready code following SOLID principles and .NET conventions.",
15
+ "version": "1.0.0"
14
16
  },
15
17
  {
16
- "name": "grimoire:dotnet-architect",
17
- "path": "agents/gr.dotnet-architect.md",
18
- "description": "Write, review, or refactor C# code on the .NET platform following modern best practices. Implements new features using Clean Architecture, Domain-Driven Design (DDD), and Test-Driven Development (TDD). Designs domain entities, application services, API endpoints, and infrastructure components."
18
+ "name": "grimoire.dotnet-architect",
19
+ "path": "agents/grimoire.dotnet-architect.md",
20
+ "description": "Write, review, or refactor C# code on the .NET platform following modern best practices. Implements new features using Clean Architecture, Domain-Driven Design (DDD), and Test-Driven Development (TDD). Designs domain entities, application services, API endpoints, and infrastructure components.",
21
+ "version": "1.0.0"
19
22
  },
20
23
  {
21
- "name": "grimoire:dotnet-unit-test-writer",
22
- "path": "agents/gr.dotnet-unit-test-writer.md",
23
- "description": "Expert .NET unit testing specialist for C#/.NET projects. Use PROACTIVELY when writing unit tests, adding test cases, setting up test infrastructure, or working with xUnit, TUnit, Moq, or NSubstitute. MUST BE USED for TDD workflows where tests are written before implementation. Defaults to xUnit (most universal), recommends TUnit for new .NET 8+ projects."
24
+ "name": "grimoire.dotnet-unit-test-writer",
25
+ "path": "agents/grimoire.dotnet-unit-test-writer.md",
26
+ "description": "Expert .NET unit testing specialist for C#/.NET projects. Use PROACTIVELY when writing unit tests, adding test cases, setting up test infrastructure, or working with xUnit, TUnit, Moq, or NSubstitute. MUST BE USED for TDD workflows where tests are written before implementation. Defaults to xUnit (most universal), recommends TUnit for new .NET 8+ projects.",
27
+ "version": "1.0.0"
24
28
  }
25
29
  ],
26
30
  "skills": [
27
31
  {
28
- "name": "grimoire:dotnet-feature-workflow",
29
- "path": "skills/gr.dotnet-feature-workflow",
32
+ "name": "grimoire.dotnet-feature-workflow",
33
+ "path": "skills/grimoire.dotnet-feature-workflow",
30
34
  "description": "Orchestrates end-to-end .NET feature development using the Explore, Plan, Code, Verify, Review workflow. Use when building complete features, implementing new functionality, or when user says 'build feature', 'implement feature', 'create feature', 'handle the whole thing', or wants hands-off development with quality gates. Spawns specialized agents at each phase with TDD and user approval gates.",
31
- "triggers": {
32
- "keywords": ["feature", "dotnet", "csharp", "scaffold", "endpoint"],
33
- "file_extensions": [".cs", ".csproj", ".sln"],
34
- "patterns": [
35
- "build.*feature",
36
- "implement.*feature",
37
- "create.*feature",
38
- "new.*feature",
39
- "add.*feature",
40
- "develop.*feature",
41
- "csharp.*feature",
42
- "handle.*whole",
43
- "end.*to.*end",
44
- "implement.*endpoint",
45
- "build.*endpoint",
46
- "add.*endpoint"
47
- ],
48
- "file_paths": ["**/*.csproj", "**/*.sln"]
49
- }
35
+ "version": "1.0.0"
50
36
  }
51
37
  ]
52
38
  }
@@ -1,8 +1,9 @@
1
1
  ---
2
- name: grimoire:dotnet-feature-workflow
2
+ name: grimoire.dotnet-feature-workflow
3
3
  description: "Orchestrates end-to-end .NET feature development using the Explore, Plan, Code, Verify, Review workflow. Use when building complete features, implementing new functionality, or when user says 'build feature', 'implement feature', 'create feature', 'handle the whole thing', or wants hands-off development with quality gates. Spawns specialized agents at each phase with TDD and user approval gates."
4
- user_invocable: true
5
- disable-model-invocation: false
4
+ user-invokable: true
5
+ disable-model-invocation: true
6
+ version: 1.0.0
6
7
  ---
7
8
 
8
9
  # .NET Feature Development Workflow
@@ -1,8 +1,9 @@
1
1
  ---
2
- name: grimoire:fact-checker
3
- description: "Use this agent when you need to verify the accuracy of written content before publishing or sharing. Invoke when: (1) Drafting is complete and content contains factual claims like statistics, dates, technical specifications, or historical references; (2) Content is ready for final review before publishing; (3) Accuracy is critical for public-facing or decision-making materials. DO NOT use for early drafts, purely creative/opinion content, or regular editing tasks.\\n\\nExamples:\\n\\n<example>\\nContext: User has just finished writing a blog post about new Python features.\\n\\nuser: \"I just finished writing a blog post about Python 3.12's new features. Can you review it?\"\\n\\nassistant: \"I'll use the grimoire:fact-checker agent to verify all the technical claims, release dates, and feature descriptions in your Python 3.12 blog post before you publish it.\"\\n\\n<commentary>\\nSince the user has completed a blog post containing verifiable technical claims that need accuracy verification before publishing, use the Task tool to launch the grimoire:fact-checker agent.\\n</commentary>\\n</example>\\n\\n<example>\\nContext: User mentions they've written documentation with performance benchmarks.\\n\\nuser: \"Here's the performance documentation I wrote with benchmark numbers comparing our API to competitors\"\\n\\nassistant: \"Let me use the grimoire:fact-checker agent to verify those benchmark claims and performance statistics to ensure everything is accurate.\"\\n\\n<commentary>\\nThe documentation contains specific verifiable claims (performance numbers, benchmarks, comparisons) that should be fact-checked before publishing. Use the Task tool to launch the grimoire:fact-checker agent.\\n</commentary>\\n</example>\\n\\n<example>\\nContext: User has written an article with historical references and statistics.\\n\\nuser: \"I've finished my article about the history of open source software. It has dates, statistics, and some quotes from key figures.\"\\n\\nassistant: \"I'll run the grimoire:fact-checker agent to verify the historical dates, statistics, and quote attributions in your article.\"\\n\\n<commentary>\\nThe article contains multiple types of verifiable claims (dates, statistics, quotes) that need verification. Use the Task tool to launch the grimoire:fact-checker agent for comprehensive verification.\\n</commentary>\\n</example>"
2
+ name: grimoire.fact-checker
3
+ description: "Use this agent when you need to verify the accuracy of written content before publishing or sharing. Invoke when: (1) Drafting is complete and content contains factual claims like statistics, dates, technical specifications, or historical references; (2) Content is ready for final review before publishing; (3) Accuracy is critical for public-facing or decision-making materials. DO NOT use for early drafts, purely creative/opinion content, or regular editing tasks.\\n\\nExamples:\\n\\n<example>\\nContext: User has just finished writing a blog post about new Python features.\\n\\nuser: \"I just finished writing a blog post about Python 3.12's new features. Can you review it?\"\\n\\nassistant: \"I'll use the grimoire.fact-checker agent to verify all the technical claims, release dates, and feature descriptions in your Python 3.12 blog post before you publish it.\"\\n\\n<commentary>\\nSince the user has completed a blog post containing verifiable technical claims that need accuracy verification before publishing, use the Task tool to launch the grimoire.fact-checker agent.\\n</commentary>\\n</example>\\n\\n<example>\\nContext: User mentions they've written documentation with performance benchmarks.\\n\\nuser: \"Here's the performance documentation I wrote with benchmark numbers comparing our API to competitors\"\\n\\nassistant: \"Let me use the grimoire.fact-checker agent to verify those benchmark claims and performance statistics to ensure everything is accurate.\"\\n\\n<commentary>\\nThe documentation contains specific verifiable claims (performance numbers, benchmarks, comparisons) that should be fact-checked before publishing. Use the Task tool to launch the grimoire.fact-checker agent.\\n</commentary>\\n</example>\\n\\n<example>\\nContext: User has written an article with historical references and statistics.\\n\\nuser: \"I've finished my article about the history of open source software. It has dates, statistics, and some quotes from key figures.\"\\n\\nassistant: \"I'll run the grimoire.fact-checker agent to verify the historical dates, statistics, and quote attributions in your article.\"\\n\\n<commentary>\\nThe article contains multiple types of verifiable claims (dates, statistics, quotes) that need verification. Use the Task tool to launch the grimoire.fact-checker agent for comprehensive verification.\\n</commentary>\\n</example>"
4
4
  tools: Read, WebFetch, WebSearch
5
5
  model: inherit
6
+ version: 1.0.0
6
7
  ---
7
8
 
8
9
  You are a meticulous fact-checking expert specializing in verifying claims, statements, and assertions across all types of written content including blog posts, articles, technical documentation, and other text-based materials. Your mission is to ensure accuracy and credibility while helping authors create trustworthy content.
@@ -3,9 +3,10 @@
3
3
  "version": "1.0.0",
4
4
  "agents": [
5
5
  {
6
- "name": "grimoire:fact-checker",
7
- "path": "agents/gr.fact-checker.md",
8
- "description": "Use this agent when you need to verify the accuracy of written content before publishing or sharing. Invoke when: (1) Drafting is complete and content contains factual claims like statistics, dates, technical specifications, or historical references; (2) Content is ready for final review before publishing; (3) Accuracy is critical for public-facing or decision-making materials."
6
+ "name": "grimoire.fact-checker",
7
+ "path": "agents/grimoire.fact-checker.md",
8
+ "description": "Use this agent when you need to verify the accuracy of written content before publishing or sharing. Invoke when: (1) Drafting is complete and content contains factual claims like statistics, dates, technical specifications, or historical references; (2) Content is ready for final review before publishing; (3) Accuracy is critical for public-facing or decision-making materials.",
9
+ "version": "1.0.0"
9
10
  }
10
11
  ],
11
12
  "skills": []
@@ -4,9 +4,10 @@
4
4
  "agents": [],
5
5
  "skills": [
6
6
  {
7
- "name": "grimoire:context-file-guide",
8
- "path": "skills/gr.context-file-guide",
7
+ "name": "grimoire.context-file-guide",
8
+ "path": "skills/grimoire.context-file-guide",
9
9
  "description": "Best practices for writing CLAUDE.md project context files. Use when creating, reviewing, or improving CLAUDE.md files for Claude Code projects.",
10
+ "version": "1.0.0",
10
11
  "triggers": {
11
12
  "keywords": [],
12
13
  "file_extensions": [],
@@ -23,9 +24,10 @@
23
24
  }
24
25
  },
25
26
  {
26
- "name": "grimoire:readme-guide",
27
- "path": "skills/gr.readme-guide",
27
+ "name": "grimoire.readme-guide",
28
+ "path": "skills/grimoire.readme-guide",
28
29
  "description": "Create and review README files following industry best practices. Use for writing new READMEs, improving existing ones, checking README quality, or adding badges.",
30
+ "version": "1.0.0",
29
31
  "triggers": {
30
32
  "keywords": [
31
33
  "readme"
@@ -46,9 +48,10 @@
46
48
  }
47
49
  },
48
50
  {
49
- "name": "grimoire:skill-developer",
50
- "path": "skills/gr.skill-developer",
51
+ "name": "grimoire.skill-developer",
52
+ "path": "skills/grimoire.skill-developer",
51
53
  "description": "Create and maintain custom skills for Claude Code following official Anthropic patterns. Use when creating new skills, updating existing skills, or organizing skill documentation.",
54
+ "version": "1.0.0",
52
55
  "triggers": {
53
56
  "keywords": [
54
57
  "skill-developer",
@@ -1,6 +1,7 @@
1
1
  ---
2
- name: grimoire:context-file-guide
2
+ name: grimoire.context-file-guide
3
3
  description: "Best practices for writing CLAUDE.md project context files. Use when creating, reviewing, or improving CLAUDE.md files for Claude Code projects."
4
+ version: 1.0.0
4
5
  ---
5
6
 
6
7
  # CLAUDE.md Best Practices Guide
@@ -1,8 +1,9 @@
1
1
  ---
2
- name: grimoire:readme-guide
2
+ name: grimoire.readme-guide
3
3
  description: "Create and review README files following industry best practices. Use for writing new READMEs, improving existing ones, checking README quality, or adding badges. Triggers: readme, documentation, project docs, repository documentation, getting started guide, shields badges."
4
- user_invocable: true
4
+ user-invokable: true
5
5
  disable-model-invocation: false
6
+ version: 1.0.0
6
7
  ---
7
8
 
8
9
  # README Guide
@@ -1,8 +1,9 @@
1
1
  ---
2
- name: grimoire:skill-developer
2
+ name: grimoire.skill-developer
3
3
  description: Create and maintain custom skills for Claude Code following official Anthropic patterns. Use when creating new skills, updating existing skills, or organizing skill documentation.
4
- user_invocable: true
5
- disable-model-invocation: true
4
+ user-invokable: true
5
+ disable-model-invocation: false
6
+ version: 1.0.0
6
7
  ---
7
8
 
8
9
  # Skill Developer
@@ -4,9 +4,10 @@
4
4
  "agents": [],
5
5
  "skills": [
6
6
  {
7
- "name": "grimoire:modern-typescript",
8
- "path": "skills/gr.modern-typescript",
7
+ "name": "grimoire.modern-typescript",
8
+ "path": "skills/grimoire.modern-typescript",
9
9
  "description": "Modern TypeScript best practices, patterns, and type system mastery for TS 5.7+. Use when writing TypeScript, reviewing TS code, designing types, configuring tsconfig, or asking about TypeScript patterns, generics, type safety, strict mode, idiomatic TypeScript, discriminated unions, branded types, or modern TS features.",
10
+ "version": "1.0.0",
10
11
  "triggers": {
11
12
  "keywords": ["typescript", "tsconfig", "satisfies", "narrowing", "readonly"],
12
13
  "file_extensions": [".ts", ".tsx", ".mts", ".cts"],
@@ -1,6 +1,7 @@
1
1
  ---
2
- name: grimoire:modern-typescript
2
+ name: grimoire.modern-typescript
3
3
  description: "Modern TypeScript best practices, patterns, and type system mastery for TS 5.7+. Use when writing TypeScript, reviewing TS code, designing types, configuring tsconfig, or asking about TypeScript patterns, generics, type safety, strict mode, idiomatic TypeScript, discriminated unions, branded types, or modern TS features."
4
+ version: 1.0.0
4
5
  ---
5
6
 
6
7
  # Modern TypeScript