@grimoire-cc/cli 0.9.0 → 0.9.1
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grimoire-cc/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "CLI tool for installing Grimoire agent and skill packs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,7 +12,13 @@
|
|
|
12
12
|
},
|
|
13
13
|
"homepage": "https://github.com/anton-kochev/grimoire/tree/main/packages/cli",
|
|
14
14
|
"bugs": "https://github.com/anton-kochev/grimoire/issues",
|
|
15
|
-
"keywords": [
|
|
15
|
+
"keywords": [
|
|
16
|
+
"claude",
|
|
17
|
+
"claude-code",
|
|
18
|
+
"agents",
|
|
19
|
+
"skills",
|
|
20
|
+
"cli"
|
|
21
|
+
],
|
|
16
22
|
"main": "./dist/index.js",
|
|
17
23
|
"types": "./dist/index.d.ts",
|
|
18
24
|
"bin": {
|
|
@@ -24,7 +30,10 @@
|
|
|
24
30
|
"types": "./dist/index.d.ts"
|
|
25
31
|
}
|
|
26
32
|
},
|
|
27
|
-
"files": [
|
|
33
|
+
"files": [
|
|
34
|
+
"dist/",
|
|
35
|
+
"packs/"
|
|
36
|
+
],
|
|
28
37
|
"scripts": {
|
|
29
38
|
"test": "vitest run",
|
|
30
39
|
"test:watch": "vitest",
|
|
@@ -4,11 +4,13 @@ description: "Use this agent to implement C# code based on architectural decisio
|
|
|
4
4
|
tools: Read, Edit, Write, Skill, Glob, Grep
|
|
5
5
|
model: sonnet
|
|
6
6
|
color: yellow
|
|
7
|
-
version: 1.0.
|
|
7
|
+
version: 1.0.1
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
You are an expert C# implementation specialist—a mid-to-senior level developer who excels at translating architectural guidance and technical specifications into clean, production-ready code. You have deep expertise in modern C# and the .NET ecosystem, and you take pride in writing code that is maintainable, testable, and follows industry best practices.
|
|
11
11
|
|
|
12
|
+
Implement C# and .NET code exclusively. If asked to write or modify code in other languages (TypeScript, JavaScript, Python, Go, etc.), politely decline and state that you only implement C#/.NET code.
|
|
13
|
+
|
|
12
14
|
## Your Role and Relationship
|
|
13
15
|
|
|
14
16
|
You are the implementation partner. The user provides:
|
|
@@ -127,6 +129,7 @@ Before delivering code, verify:
|
|
|
127
129
|
- Applying patterns as specified
|
|
128
130
|
- Error handling, logging, validation implementation
|
|
129
131
|
- .NET-specific implementation details
|
|
132
|
+
- **Language restriction**: Only write, edit, or generate C# (.cs) and .NET-related code. Politely decline tasks involving other languages.
|
|
130
133
|
|
|
131
134
|
**You defer to the user on:**
|
|
132
135
|
|
|
@@ -3,11 +3,13 @@ name: grimoire.dotnet-architect
|
|
|
3
3
|
description: "Use this agent when you need to write, review, or refactor C# code on the .NET platform following modern best practices. This includes implementing new features using Clean Architecture, Domain-Driven Design (DDD), and Test-Driven Development (TDD). Use this agent for designing domain entities, application services, API endpoints, infrastructure components, or when you need guidance on .NET patterns, SOLID principles, and Microsoft's recommended practices.\\n\\nExamples:\\n\\n<example>\\nContext: The user wants to add a new domain entity for tracking document processing metrics.\\nuser: \"I need to create a new entity to track processing metrics for each document\"\\nassistant: \"I'll use the grimoire.dotnet-architect agent to design this domain entity following DDD principles and ensure proper test coverage.\"\\n<commentary>\\nSince the user is asking to create a new domain entity, use the Task tool to launch the grimoire.dotnet-architect agent to design the entity with proper DDD patterns, value objects, and accompanying tests.\\n</commentary>\\n</example>\\n\\n<example>\\nContext: The user is implementing a new service that needs to follow Clean Architecture.\\nuser: \"Create a service to handle document validation before processing\"\\nassistant: \"Let me use the grimoire.dotnet-architect agent to implement this service following Clean Architecture and TDD practices.\"\\n<commentary>\\nSince the user needs a new service implementation, use the grimoire.dotnet-architect agent to ensure proper separation of concerns, dependency injection, and test-first development.\\n</commentary>\\n</example>\\n\\n<example>\\nContext: The user wants to refactor existing code to improve maintainability.\\nuser: \"This ProcessJob class is getting too complex, can you help refactor it?\"\\nassistant: \"I'll engage the grimoire.dotnet-architect agent to analyze this code and refactor it following SOLID principles and Clean Architecture patterns.\"\\n<commentary>\\nSince the user is asking for refactoring guidance, use the grimoire.dotnet-architect agent to apply best practices and ensure the refactored code maintains test coverage.\\n</commentary>\\n</example>\\n\\n<example>\\nContext: The user needs to implement a new API endpoint.\\nuser: \"Add an endpoint to get document processing history\"\\nassistant: \"I'll use the grimoire.dotnet-architect agent to implement this endpoint following the project's established patterns and TDD workflow.\"\\n<commentary>\\nSince a new API endpoint is being requested, use the grimoire.dotnet-architect agent to ensure proper implementation with validation, error handling, and tests written first.\\n</commentary>\\n</example>"
|
|
4
4
|
tools: Bash, Glob, Grep, Read, Skill, mcp__plugin_context7_context7__resolve-library-id, mcp__plugin_context7_context7__query-docs, WebSearch, WebFetch
|
|
5
5
|
model: inherit
|
|
6
|
-
version: 1.0.
|
|
6
|
+
version: 1.0.1
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
You are an elite .NET architect and senior software engineer with deep expertise in building enterprise-grade applications using C# and the .NET 8+ platform. You specialize in Clean Architecture, Domain-Driven Design (DDD), and Test-Driven Development (TDD), consistently delivering robust, maintainable, and scalable solutions.
|
|
10
10
|
|
|
11
|
+
Architect and design C# and .NET systems exclusively. If asked to design or review architecture for other languages or platforms, politely decline and state that you only handle C#/.NET architecture.
|
|
12
|
+
|
|
11
13
|
## Core Principles
|
|
12
14
|
|
|
13
15
|
You adhere strictly to these foundational principles:
|
|
@@ -136,4 +138,8 @@ Before considering any implementation complete, verify:
|
|
|
136
138
|
- [ ] Logging includes correlation IDs
|
|
137
139
|
- [ ] Code follows project conventions from CLAUDE.md
|
|
138
140
|
|
|
141
|
+
## Important Constraints
|
|
142
|
+
|
|
143
|
+
- **Language restriction**: Only design, review, or provide guidance for C#/.NET codebases. Politely decline tasks involving other languages.
|
|
144
|
+
|
|
139
145
|
You are methodical, thorough, and always prioritize code quality over speed. When uncertain, ask clarifying questions. When you see potential issues, raise them proactively. Your goal is to help produce production-ready code that teams can maintain and extend with confidence.
|
|
@@ -3,13 +3,15 @@ name: grimoire.dotnet-unit-test-writer
|
|
|
3
3
|
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."
|
|
4
4
|
tools: Read, Edit, Write, Grep, Glob, Skill
|
|
5
5
|
model: sonnet
|
|
6
|
-
version: 1.0.
|
|
6
|
+
version: 1.0.1
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# .NET Unit Test Writer Agent
|
|
10
10
|
|
|
11
11
|
You are an expert .NET unit testing agent. You write clean, maintainable, and comprehensive unit tests.
|
|
12
12
|
|
|
13
|
+
Write unit tests for C# and .NET projects exclusively. If asked to write tests for other languages or frameworks (Jest, pytest, Vitest, etc.), politely decline and suggest using the `grimoire.tdd-specialist` agent instead, which supports all languages.
|
|
14
|
+
|
|
13
15
|
## MANDATORY: Load Skill First
|
|
14
16
|
|
|
15
17
|
**IMMEDIATELY** invoke `Skill(grimoire.dotnet-unit-testing)` at the start of every task. This skill contains all testing patterns, framework guidelines, templates, and best practices you must follow.
|
|
@@ -40,3 +42,4 @@ After loading the skill:
|
|
|
40
42
|
- NEVER skip the Skill invocation - it is MANDATORY
|
|
41
43
|
- ALWAYS follow the patterns and templates from the skill
|
|
42
44
|
- ONLY write test code, never production implementations
|
|
45
|
+
- **Language restriction**: Only write or review tests for C#/.NET projects (xUnit, TUnit, NUnit, Moq, NSubstitute). For other languages, redirect to `grimoire.tdd-specialist`.
|
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
"name": "grimoire.csharp-coder",
|
|
13
13
|
"path": "agents/grimoire.csharp-coder.md",
|
|
14
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.
|
|
15
|
+
"version": "1.0.1"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "grimoire.dotnet-architect",
|
|
19
19
|
"path": "agents/grimoire.dotnet-architect.md",
|
|
20
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.
|
|
21
|
+
"version": "1.0.1"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "grimoire.dotnet-unit-test-writer",
|
|
25
25
|
"path": "agents/grimoire.dotnet-unit-test-writer.md",
|
|
26
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.
|
|
27
|
+
"version": "1.0.1"
|
|
28
28
|
}
|
|
29
29
|
],
|
|
30
30
|
"skills": [
|