From a2dac46d5ee8bf2ef02e03356115bf240134cfa4 Mon Sep 17 00:00:00 2001 From: moilanik Date: Sat, 18 Apr 2026 07:17:14 +0300 Subject: [PATCH] skill list script update --- .ai/list-skills.sh | 17 +++++++++++++++++ .ai/skill-list.txt | 39 +++++++++++++++++++-------------------- 2 files changed, 36 insertions(+), 20 deletions(-) diff --git a/.ai/list-skills.sh b/.ai/list-skills.sh index e69de29..f8749b6 100755 --- a/.ai/list-skills.sh +++ b/.ai/list-skills.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +SKILLS_DIR=".ai/skills" + +echo "# Generated skill list - $(date)" + +find "$SKILLS_DIR" -name "SKILL.md" | while read -r file; do + # head -n 15 varmistaa että pysytään metadatassa + # grep -m 1 varmistaa että otetaan vain ensimmäinen esiintymä (todellinen arvo) + header=$(head -n 15 "$file") + + cat=$(echo "$header" | grep -m 1 "^category:" | sed 's/category:[[:space:]]*//;s/^["'\'']//;s/["'\'']$//') + imp=$(echo "$header" | grep -m 1 "^impact:" | sed 's/impact:[[:space:]]*//;s/^["'\'']//;s/["'\'']$//') + desc=$(echo "$header" | grep -m 1 "^description:" | sed 's/description:[[:space:]]*//;s/^["'\'']//;s/["'\'']$//') + + echo "$file | $cat | $imp | $desc" +done \ No newline at end of file diff --git a/.ai/skill-list.txt b/.ai/skill-list.txt index 77efefe..d72d5ec 100644 --- a/.ai/skill-list.txt +++ b/.ai/skill-list.txt @@ -1,20 +1,19 @@ -Listing all skills in the .ai/skills directory: ------------------------------------------------ -- analysis: Analyze user requests, evaluate requirements, and propose AI action plans. Use when analyzing code, errors, or planning tasks. (File: .ai/skills/analysis/SKILL.md) -- clean-architecture: Enforce clean architecture principles and Hexagonal/Onion patterns. Use when designing system architecture, domains, or defining module boundaries. (File: .ai/skills/clean-architecture/SKILL.md) -- clean-code: Apply clean code principles, SOLID, and DRY practices. Use when writing, reviewing, or refactoring application code. (File: .ai/skills/clean-code/SKILL.md) -- core-principles: The absolute foundational behavior, etiquette, and operational methodology for the AI assistant. Use when discussing AI behavior, rules, speed vs quality, or making decisions. (File: .ai/skills/core-principles/SKILL.md) -- docs: (File: .ai/skills/docs/SKILL.md) -- documentation: Rules and structures for writing project documentation in Markdown. Use when creating, formatting, or updating markdown docs. (File: .ai/skills/documentation/SKILL.md) -- file-editing: Rules for sandbox file editing into tmp/ topics to avoid root pollution. Use when creating temporary files, drafts, scratchpads, or experimenting. (File: .ai/skills/file-editing/SKILL.md) -- git: Enforce semantic versioning and strict Git commit message formats (topic-level). Use when committing code, parsing git history, or writing commit messages. (File: .ai/skills/git/SKILL.md) -- grill-me: Active interrogator mode to clarify fuzzy requirements before starting work. Use when the user asks to be grilled, questioned, or needs to flesh out an idea. (File: .ai/skills/grill-me/SKILL.md) -- helm: Helm chart guidelines focusing on explicit resource naming over complex umbrellas. Use when creating, modifying, or reviewing Helm charts and Kubernetes manifests. (File: .ai/skills/helm/SKILL.md) -- iac: Best practices for Infrastructure as Code, GitOps, minimizing configuration drift, and avoiding imperative infrastructure operations. (File: .ai/skills/iac/SKILL.md) -- kubernetes-access: Defines workflows for interacting with Kubernetes clusters, depending on whether a valid kubeconfig is present. Emphasizes read-only access and strict IaC adherence. (File: .ai/skills/kubernetes-access/SKILL.md) -- mermaid: Safe Mermaid diagram generation avoiding raw HTML entities and newlines. Use when generating, formatting, or updating Mermaid graphs or diagrams. (File: .ai/skills/mermaid/SKILL.md) -- project-context: (File: .ai/skills/project-context/SKILL.md) -- readme: (File: .ai/skills/readme/SKILL.md) -- root-skill: The absolute master configuration and state machine for the AI. This is the entry point that governs how the AI operates, changes states, and loads other skills. (File: .ai/skills/root-skill/SKILL.md) -- use-cases: Structure use case documentation following rigid outlines to prevent bloat. Use when defining application use cases, stories, or functional requirements. (File: .ai/skills/use-cases/SKILL.md) -- write-skill: Create new agent skills with proper structure and AI superpower constraints. Use when user wants to create, write, or build a new skill, rule, or instruction. (File: .ai/skills/write-skill/SKILL.md) +# Generated skill list - la 18 huhtikuuta 2026 07:16:22 EEST +.ai/skills/root-skill/SKILL.md | meta | high | The absolute master configuration and state machine for the AI. This is the entry point that governs how the AI operates, changes states, and loads other skills. +.ai/skills/clean-code/SKILL.md | code | medium | Apply clean code principles, SOLID, and DRY practices. Use when writing, reviewing, or refactoring application code. +.ai/skills/documentation/SKILL.md | workflow | low | Rules and structures for writing project documentation in Markdown. Use when creating, formatting, or updating markdown docs. +.ai/skills/analysis/SKILL.md | workflow | high | Analyze user requests, evaluate requirements, and propose AI action plans. Use when analyzing code, errors, or planning tasks. +.ai/skills/kubernetes-access/SKILL.md | infra | high | Defines workflows for interacting with Kubernetes clusters, depending on whether a valid kubeconfig is present. Emphasizes read-only access and strict IaC adherence. +.ai/skills/docs/SKILL.md | workflow | low | Rules for maintaining the project's documentation folder (ai-context.md and architecture.md). Use when editing or creating project documentation files. +.ai/skills/readme/SKILL.md | meta | low | Guidelines for creating or updating README files. Use when generating, formatting, or editing the project's root README.md. +.ai/skills/use-cases/SKILL.md | workflow | low | Structure use case documentation following rigid outlines to prevent bloat. Use when defining application use cases, stories, or functional requirements. +.ai/skills/iac/SKILL.md | infra | high | Best practices for Infrastructure as Code, GitOps, minimizing configuration drift, and avoiding imperative infrastructure operations. +.ai/skills/core-principles/SKILL.md | meta | high | The absolute foundational behavior, etiquette, and operational methodology for the AI assistant. Use when discussing AI behavior, rules, speed vs quality, or making decisions. +.ai/skills/mermaid/SKILL.md | workflow | low | Safe Mermaid diagram generation avoiding raw HTML entities and newlines. Use when generating, formatting, or updating Mermaid graphs or diagrams. +.ai/skills/clean-architecture/SKILL.md | code | medium | Enforce clean architecture principles and Hexagonal/Onion patterns. Use when designing system architecture, domains, or defining module boundaries. +.ai/skills/file-editing/SKILL.md | workflow | low | Rules for sandbox file editing into tmp/ topics to avoid root pollution. Use when creating temporary files, drafts, scratchpads, or experimenting. +.ai/skills/grill-me/SKILL.md | workflow | medium | Active interrogator mode to clarify fuzzy requirements before starting work. Use when the user asks to be grilled, questioned, or needs to flesh out an idea. +.ai/skills/project-context/SKILL.md | meta | low | Establish how the AI should fetch, create, and interact with a project's individual ai-context.md file. Use when setting up a new project or looking for project repo context. +.ai/skills/helm/SKILL.md | infra | medium | Helm chart guidelines focusing on explicit resource naming over complex umbrellas. Use when creating, modifying, or reviewing Helm charts and Kubernetes manifests. +.ai/skills/write-skill/SKILL.md | workflow | medium | Create new agent skills with proper structure and AI superpower constraints. Use when user wants to create, write, or build a new skill, rule, or instruction. +.ai/skills/git/SKILL.md | workflow | medium | Enforce semantic versioning and strict Git commit message formats (topic-level). Use when committing code, parsing git history, or writing commit messages.