Add Claude Code skills for content development workflows#14529
Add Claude Code skills for content development workflows#14529vojtapolasek wants to merge 7 commits intoComplianceAsCode:masterfrom
Conversation
Introduces 10 skill definitions covering building, testing, rule creation, control file management, and PR workflows. Includes shared MCP fallback utilities for graceful degradation when the content-mcp server is unavailable. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The You might want to limit |
| If ninja is available: | ||
| ```bash | ||
| cd build | ||
| cmake -G Ninja .. |
There was a problem hiding this comment.
I'd prefer to use the build_product script for ninja builds as well.
.claude/skills/create-rule/SKILL.md
Outdated
|
|
||
| 3. **Rationale**: Why this rule is important for security | ||
|
|
||
| 4. **Severity**: One of `low`, `medium`, `high`, `unknown` |
There was a problem hiding this comment.
severity could have a default value, so that the users won't need to answer it
.claude/skills/create-rule/SKILL.md
Outdated
| ## Important Notes | ||
|
|
||
| - **Do NOT make test files executable** - the test framework handles this | ||
| - **Use proper Jinja2 syntax** for macros in description, rationale, etc. |
There was a problem hiding this comment.
I wonder if this can trip it on a wrong path. Our project uses a custom Jinja syntax ie. we use triple braces instead of the default double braces.
|
|
||
| # Test Rule | ||
|
|
||
| Run Automatus tests for a ComplianceAsCode security rule. |
There was a problem hiding this comment.
Can this skill build and use thin data streams? That'd make the test faster.
|
It seems that currently the general opinion is that MCP servers should be used to connect to external providers (eg. Jira, database, language servers, online documentation). Skills usually don't use MCP servers to interact with the repository itself. I somehow feel that by having 2 variants how to accomplish some task
What do you think about this? |
|
I proposed a change to yamllint so that it does not cover other files: #14601 |
… it from the current project state
MCP servers are like tools you give to the LLM. It is true that LLM can often figure out things on its own, but you lose some degree of precision and predictability. It is true that MCP servers are used rather for reading APIs, but isn't the directory and file layout of our project together with well defined file structure actually API as well?
I don't think so, nobody forces them to use the MCP server.
I don't think so, MCP servers are here exactly for agents to use them.
Could you please point me to practices you refer to? Honestly, I did not read much of such practices, I used a skill to build skills, precisely this
I think the current approach is fine. It does not impose usage of MCP server. But I believe if the server is available, it should be used because it is more predictable. |
|
@vojtapolasek excellent! thanks for explanation |
Description:
.claude/skills/that automate common development tasks:build-product,create-rule,draft-pr,inspect-control,map-controls,map-requirement,onboard-control,run-tests,test-rule, and shared MCP fallback utilities./build-product rhel9) and is defined by aSKILL.mdfile documenting its purpose, arguments, phases, and behavior.content-mcpMCP server for structured operations but fall back to filesystem-based alternatives when the MCP server is unavailable.docs/manual/developer/12_ai_skills.md) describing how to find and use the skills.Rationale:
.claude/skills/convention (Claude Code, Opencode, etc.), making AI-assisted development accessible across tooling.Review Hints:
.claude/skills/shared/mcp_fallbacks.md— shared fallback procedures referenced by multiple skills.claude/skills/create-rule/SKILL.md— largest skill (~585 lines), covers rule creation end-to-enddocs/manual/developer/12_ai_skills.md— developer-facing documentation