From d949f32b17aee9ebc464cb7ba630ca4b740cb2a3 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 06:48:59 +0000 Subject: [PATCH 01/11] feat: add SCAI ECC bundle (.claude/ecc-tools.json) --- .claude/ecc-tools.json | 272 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 272 insertions(+) create mode 100644 .claude/ecc-tools.json diff --git a/.claude/ecc-tools.json b/.claude/ecc-tools.json new file mode 100644 index 0000000..931e16c --- /dev/null +++ b/.claude/ecc-tools.json @@ -0,0 +1,272 @@ +{ + "version": "1.3", + "schemaVersion": "1.0", + "generatedBy": "ecc-tools", + "generatedAt": "2026-08-05T06:47:38.899Z", + "repo": "https://github.com/daetan999/SCAI", + "referenceSetReadiness": { + "score": 0, + "present": 0, + "total": 7, + "items": [ + { + "id": "deep-analyzer-corpus", + "label": "Deep analyzer corpus", + "status": "missing", + "evidence": [], + "recommendation": "Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions." + }, + { + "id": "rag-evaluator", + "label": "RAG/evaluator comparison", + "status": "missing", + "evidence": [], + "recommendation": "Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior." + }, + { + "id": "pr-salvage", + "label": "PR salvage/review corpus", + "status": "missing", + "evidence": [], + "recommendation": "Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation." + }, + { + "id": "discussion-triage", + "label": "Discussion triage corpus", + "status": "missing", + "evidence": [], + "recommendation": "Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications." + }, + { + "id": "harness-compatibility", + "label": "Harness compatibility", + "status": "missing", + "evidence": [], + "recommendation": "Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces." + }, + { + "id": "security-evidence", + "label": "Security evidence", + "status": "missing", + "evidence": [], + "recommendation": "Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs." + }, + { + "id": "ci-failure-mode", + "label": "CI failure-mode evidence", + "status": "missing", + "evidence": [], + "recommendation": "Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes." + } + ] + }, + "profiles": { + "requested": "full", + "recommended": "full", + "effective": "developer", + "requestedAlias": "full", + "recommendedAlias": "full", + "effectiveAlias": "developer" + }, + "requestedProfile": "full", + "profile": "developer", + "recommendedProfile": "full", + "effectiveProfile": "developer", + "tier": "free", + "requestedComponents": [ + "repo-baseline", + "workflow-automation", + "security-audits", + "research-tooling", + "team-rollout", + "governance-controls" + ], + "selectedComponents": [ + "repo-baseline", + "workflow-automation" + ], + "requestedAddComponents": [], + "requestedRemoveComponents": [], + "blockedRemovalComponents": [], + "tierFilteredComponents": [ + "security-audits", + "research-tooling", + "team-rollout", + "governance-controls" + ], + "requestedRootPackages": [ + "runtime-core", + "workflow-pack", + "agentshield-pack", + "research-pack", + "team-config-sync", + "enterprise-controls" + ], + "selectedRootPackages": [ + "runtime-core", + "workflow-pack" + ], + "requestedPackages": [ + "runtime-core", + "workflow-pack", + "agentshield-pack", + "research-pack", + "team-config-sync", + "enterprise-controls" + ], + "requestedAddPackages": [], + "requestedRemovePackages": [], + "selectedPackages": [ + "runtime-core", + "workflow-pack" + ], + "packages": [ + "runtime-core", + "workflow-pack" + ], + "blockedRemovalPackages": [], + "tierFilteredRootPackages": [ + "agentshield-pack", + "research-pack", + "team-config-sync", + "enterprise-controls" + ], + "tierFilteredPackages": [ + "agentshield-pack", + "research-pack", + "team-config-sync", + "enterprise-controls" + ], + "conflictingPackages": [], + "dependencyGraph": { + "runtime-core": [], + "workflow-pack": [ + "runtime-core" + ] + }, + "resolutionOrder": [ + "runtime-core", + "workflow-pack" + ], + "requestedModules": [ + "runtime-core", + "workflow-pack", + "agentshield-pack", + "research-pack", + "team-config-sync", + "enterprise-controls" + ], + "selectedModules": [ + "runtime-core", + "workflow-pack" + ], + "modules": [ + "runtime-core", + "workflow-pack" + ], + "managedFiles": [ + ".claude/skills/SCAI/SKILL.md", + ".agents/skills/SCAI/SKILL.md", + ".agents/skills/SCAI/agents/openai.yaml", + ".claude/identity.json", + ".codex/config.toml", + ".codex/AGENTS.md", + ".codex/agents/explorer.toml", + ".codex/agents/reviewer.toml", + ".codex/agents/docs-researcher.toml", + ".claude/homunculus/instincts/inherited/SCAI-instincts.yaml" + ], + "packageFiles": { + "runtime-core": [ + ".claude/skills/SCAI/SKILL.md", + ".agents/skills/SCAI/SKILL.md", + ".agents/skills/SCAI/agents/openai.yaml", + ".claude/identity.json", + ".codex/config.toml", + ".codex/AGENTS.md", + ".codex/agents/explorer.toml", + ".codex/agents/reviewer.toml", + ".codex/agents/docs-researcher.toml", + ".claude/homunculus/instincts/inherited/SCAI-instincts.yaml" + ] + }, + "moduleFiles": { + "runtime-core": [ + ".claude/skills/SCAI/SKILL.md", + ".agents/skills/SCAI/SKILL.md", + ".agents/skills/SCAI/agents/openai.yaml", + ".claude/identity.json", + ".codex/config.toml", + ".codex/AGENTS.md", + ".codex/agents/explorer.toml", + ".codex/agents/reviewer.toml", + ".codex/agents/docs-researcher.toml", + ".claude/homunculus/instincts/inherited/SCAI-instincts.yaml" + ] + }, + "files": [ + { + "moduleId": "runtime-core", + "path": ".claude/skills/SCAI/SKILL.md", + "description": "Repository-specific Claude Code skill generated from git history." + }, + { + "moduleId": "runtime-core", + "path": ".agents/skills/SCAI/SKILL.md", + "description": "Codex-facing copy of the generated repository skill." + }, + { + "moduleId": "runtime-core", + "path": ".agents/skills/SCAI/agents/openai.yaml", + "description": "Codex skill metadata so the repo skill appears cleanly in the skill interface." + }, + { + "moduleId": "runtime-core", + "path": ".claude/identity.json", + "description": "Suggested identity.json baseline derived from repository conventions." + }, + { + "moduleId": "runtime-core", + "path": ".codex/config.toml", + "description": "Repo-local Codex MCP and multi-agent baseline aligned with ECC defaults." + }, + { + "moduleId": "runtime-core", + "path": ".codex/AGENTS.md", + "description": "Codex usage guide that points at the generated repo skill and workflow bundle." + }, + { + "moduleId": "runtime-core", + "path": ".codex/agents/explorer.toml", + "description": "Read-only explorer role config for Codex multi-agent work." + }, + { + "moduleId": "runtime-core", + "path": ".codex/agents/reviewer.toml", + "description": "Read-only reviewer role config focused on correctness and security." + }, + { + "moduleId": "runtime-core", + "path": ".codex/agents/docs-researcher.toml", + "description": "Read-only docs researcher role config for API verification." + }, + { + "moduleId": "runtime-core", + "path": ".claude/homunculus/instincts/inherited/SCAI-instincts.yaml", + "description": "Continuous-learning instincts derived from repository patterns." + } + ], + "workflows": [], + "adapters": { + "claudeCode": { + "skillPath": ".claude/skills/SCAI/SKILL.md", + "identityPath": ".claude/identity.json", + "commandPaths": [] + }, + "codex": { + "configPath": ".codex/config.toml", + "agentsGuidePath": ".codex/AGENTS.md", + "skillPath": ".agents/skills/SCAI/SKILL.md" + } + } +} \ No newline at end of file From 3f8d27f0703effb537e4d5f990e0b45887e67b4c Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 06:49:07 +0000 Subject: [PATCH 02/11] feat: add SCAI ECC bundle (.claude/skills/SCAI/SKILL.md) --- .claude/skills/SCAI/SKILL.md | 118 +++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 .claude/skills/SCAI/SKILL.md diff --git a/.claude/skills/SCAI/SKILL.md b/.claude/skills/SCAI/SKILL.md new file mode 100644 index 0000000..1d4063b --- /dev/null +++ b/.claude/skills/SCAI/SKILL.md @@ -0,0 +1,118 @@ +--- +name: scai-conventions +description: Development conventions and patterns for SCAI. Python project with conventional commits. +--- + +# Scai Conventions + +> Generated from [daetan999/SCAI](https://github.com/daetan999/SCAI) on 2026-08-05 + +## Overview + +This skill teaches Claude the development patterns and conventions used in SCAI. + +## Tech Stack + +- **Primary Language**: Python +- **Architecture**: hybrid module organization +- **Test Location**: separate + +## When to Use This Skill + +Activate this skill when: +- Making changes to this repository +- Adding new features following established patterns +- Writing tests that match project conventions +- Creating commits with proper message format + +## Commit Conventions + +Follow these commit message conventions based on 1 analyzed commits. + +### Commit Style: Conventional Commits + +### Prefixes Used + +- `docs` + +### Message Guidelines + +- Average message length: ~38 characters +- Keep first line concise and descriptive +- Use imperative mood ("Add feature" not "Added feature") + + +*Commit message example* + +```text +docs: finalize SCAI portfolio showcase +``` + +## Architecture + +### Project Structure: Single Package + +This project uses **hybrid** module organization. + +### Configuration Files + +- `.github/workflows/tests.yml` + +### Guidelines + +- This project uses a hybrid organization +- Follow existing patterns when adding new code + +## Code Style + +### Language: Python + +### Naming Conventions + +| Element | Convention | +|---------|------------| +| Files | camelCase | +| Functions | camelCase | +| Classes | PascalCase | +| Constants | SCREAMING_SNAKE_CASE | + +### Import Style: Relative Imports + +### Export Style: Named Exports + + +*Preferred import style* + +```typescript +// Use relative imports +import { Button } from '../components/Button' +import { useAuth } from './hooks/useAuth' +``` + +*Preferred export style* + +```typescript +// Use named exports +export function calculateTotal() { ... } +export const TAX_RATE = 0.1 +export interface Order { ... } +``` + +## Best Practices + +Based on analysis of the codebase, follow these practices: + +### Do + +- Use conventional commit format (feat:, fix:, etc.) +- Use camelCase for file names +- Prefer named exports + +### Don't + +- Don't write vague commit messages +- Don't deviate from established patterns without discussion + +--- + +*This skill was auto-generated by [ECC Tools](https://ecc.tools). Review and customize as needed for your team.* From 7b38a968c42dfe16ed5f352d345fdcbcf7d685d0 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 06:49:12 +0000 Subject: [PATCH 03/11] feat: add SCAI ECC bundle (.agents/skills/SCAI/SKILL.md) --- .agents/skills/SCAI/SKILL.md | 118 +++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 .agents/skills/SCAI/SKILL.md diff --git a/.agents/skills/SCAI/SKILL.md b/.agents/skills/SCAI/SKILL.md new file mode 100644 index 0000000..1d4063b --- /dev/null +++ b/.agents/skills/SCAI/SKILL.md @@ -0,0 +1,118 @@ +--- +name: scai-conventions +description: Development conventions and patterns for SCAI. Python project with conventional commits. +--- + +# Scai Conventions + +> Generated from [daetan999/SCAI](https://github.com/daetan999/SCAI) on 2026-08-05 + +## Overview + +This skill teaches Claude the development patterns and conventions used in SCAI. + +## Tech Stack + +- **Primary Language**: Python +- **Architecture**: hybrid module organization +- **Test Location**: separate + +## When to Use This Skill + +Activate this skill when: +- Making changes to this repository +- Adding new features following established patterns +- Writing tests that match project conventions +- Creating commits with proper message format + +## Commit Conventions + +Follow these commit message conventions based on 1 analyzed commits. + +### Commit Style: Conventional Commits + +### Prefixes Used + +- `docs` + +### Message Guidelines + +- Average message length: ~38 characters +- Keep first line concise and descriptive +- Use imperative mood ("Add feature" not "Added feature") + + +*Commit message example* + +```text +docs: finalize SCAI portfolio showcase +``` + +## Architecture + +### Project Structure: Single Package + +This project uses **hybrid** module organization. + +### Configuration Files + +- `.github/workflows/tests.yml` + +### Guidelines + +- This project uses a hybrid organization +- Follow existing patterns when adding new code + +## Code Style + +### Language: Python + +### Naming Conventions + +| Element | Convention | +|---------|------------| +| Files | camelCase | +| Functions | camelCase | +| Classes | PascalCase | +| Constants | SCREAMING_SNAKE_CASE | + +### Import Style: Relative Imports + +### Export Style: Named Exports + + +*Preferred import style* + +```typescript +// Use relative imports +import { Button } from '../components/Button' +import { useAuth } from './hooks/useAuth' +``` + +*Preferred export style* + +```typescript +// Use named exports +export function calculateTotal() { ... } +export const TAX_RATE = 0.1 +export interface Order { ... } +``` + +## Best Practices + +Based on analysis of the codebase, follow these practices: + +### Do + +- Use conventional commit format (feat:, fix:, etc.) +- Use camelCase for file names +- Prefer named exports + +### Don't + +- Don't write vague commit messages +- Don't deviate from established patterns without discussion + +--- + +*This skill was auto-generated by [ECC Tools](https://ecc.tools). Review and customize as needed for your team.* From e83f5d31adc575f533836d520b93d0951794c7a3 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 06:49:21 +0000 Subject: [PATCH 04/11] feat: add SCAI ECC bundle (.agents/skills/SCAI/agents/openai.yaml) --- .agents/skills/SCAI/agents/openai.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .agents/skills/SCAI/agents/openai.yaml diff --git a/.agents/skills/SCAI/agents/openai.yaml b/.agents/skills/SCAI/agents/openai.yaml new file mode 100644 index 0000000..b1917f5 --- /dev/null +++ b/.agents/skills/SCAI/agents/openai.yaml @@ -0,0 +1,6 @@ +interface: + display_name: "SCAI" + short_description: "Repo-specific patterns and workflows for SCAI" + default_prompt: "Use the SCAI repo skill to follow existing architecture, testing, and workflow conventions." +policy: + allow_implicit_invocation: true \ No newline at end of file From 790405ed361e1f3894a4b55760f1e64d4ec31d0a Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 06:49:23 +0000 Subject: [PATCH 05/11] feat: add SCAI ECC bundle (.claude/identity.json) --- .claude/identity.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .claude/identity.json diff --git a/.claude/identity.json b/.claude/identity.json new file mode 100644 index 0000000..3e4ffac --- /dev/null +++ b/.claude/identity.json @@ -0,0 +1,14 @@ +{ + "version": "2.0", + "technicalLevel": "technical", + "preferredStyle": { + "verbosity": "detailed", + "codeComments": true, + "explanations": true + }, + "domains": [ + "python" + ], + "suggestedBy": "ecc-tools-repo-analysis", + "createdAt": "2026-08-05T06:47:42.880Z" +} \ No newline at end of file From 44e40ca58eabd4f98f376dd211c269c881a07859 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 06:49:25 +0000 Subject: [PATCH 06/11] feat: add SCAI ECC bundle (.codex/config.toml) --- .codex/config.toml | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .codex/config.toml diff --git a/.codex/config.toml b/.codex/config.toml new file mode 100644 index 0000000..bc1ee67 --- /dev/null +++ b/.codex/config.toml @@ -0,0 +1,48 @@ +#:schema https://developers.openai.com/codex/config-schema.json + +# ECC Tools generated Codex baseline +approval_policy = "on-request" +sandbox_mode = "workspace-write" +web_search = "live" + +[mcp_servers.github] +command = "npx" +args = ["-y", "@modelcontextprotocol/server-github"] + +[mcp_servers.context7] +command = "npx" +args = ["-y", "@upstash/context7-mcp@latest"] + +[mcp_servers.exa] +url = "https://mcp.exa.ai/mcp" + +[mcp_servers.memory] +command = "npx" +args = ["-y", "@modelcontextprotocol/server-memory"] + +[mcp_servers.playwright] +command = "npx" +args = ["-y", "@playwright/mcp@latest", "--extension"] + +[mcp_servers.sequential-thinking] +command = "npx" +args = ["-y", "@modelcontextprotocol/server-sequential-thinking"] + +[features] +multi_agent = true + +[agents] +max_threads = 6 +max_depth = 1 + +[agents.explorer] +description = "Read-only codebase explorer for gathering evidence before changes are proposed." +config_file = "agents/explorer.toml" + +[agents.reviewer] +description = "PR reviewer focused on correctness, security, and missing tests." +config_file = "agents/reviewer.toml" + +[agents.docs_researcher] +description = "Documentation specialist that verifies APIs, framework behavior, and release notes." +config_file = "agents/docs-researcher.toml" \ No newline at end of file From e3a0c9cf7bca960833d357c558462cd570bd3f31 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 06:49:28 +0000 Subject: [PATCH 07/11] feat: add SCAI ECC bundle (.codex/AGENTS.md) --- .codex/AGENTS.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .codex/AGENTS.md diff --git a/.codex/AGENTS.md b/.codex/AGENTS.md new file mode 100644 index 0000000..08c2073 --- /dev/null +++ b/.codex/AGENTS.md @@ -0,0 +1,26 @@ +# ECC for Codex CLI + +This supplements the root `AGENTS.md` with a repo-local ECC baseline. + +## Repo Skill + +- Repo-generated Codex skill: `.agents/skills/SCAI/SKILL.md` +- Claude-facing companion skill: `.claude/skills/SCAI/SKILL.md` +- Keep user-specific credentials and private MCPs in `~/.codex/config.toml`, not in this repo. + +## MCP Baseline + +Treat `.codex/config.toml` as the default ECC-safe baseline for work in this repository. +The generated baseline enables GitHub, Context7, Exa, Memory, Playwright, and Sequential Thinking. + +## Multi-Agent Support + +- Explorer: read-only evidence gathering +- Reviewer: correctness, security, and regression review +- Docs researcher: API and release-note verification + +## Workflow Files + +- No dedicated workflow command files were generated for this repo. + +Use these workflow files as reusable task scaffolds when the detected repository workflows recur. \ No newline at end of file From 7ab33483bbf9e2884ee9f6ea1bd1e1aeba055368 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 06:49:37 +0000 Subject: [PATCH 08/11] feat: add SCAI ECC bundle (.codex/agents/explorer.toml) --- .codex/agents/explorer.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .codex/agents/explorer.toml diff --git a/.codex/agents/explorer.toml b/.codex/agents/explorer.toml new file mode 100644 index 0000000..732df7a --- /dev/null +++ b/.codex/agents/explorer.toml @@ -0,0 +1,9 @@ +model = "gpt-5.4" +model_reasoning_effort = "medium" +sandbox_mode = "read-only" + +developer_instructions = """ +Stay in exploration mode. +Trace the real execution path, cite files and symbols, and avoid proposing fixes unless the parent agent asks for them. +Prefer targeted search and file reads over broad scans. +""" \ No newline at end of file From 6e8f5d01b14486b30c3f9bd48cec9eb568cafc9f Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 06:49:40 +0000 Subject: [PATCH 09/11] feat: add SCAI ECC bundle (.codex/agents/reviewer.toml) --- .codex/agents/reviewer.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .codex/agents/reviewer.toml diff --git a/.codex/agents/reviewer.toml b/.codex/agents/reviewer.toml new file mode 100644 index 0000000..b13ed9c --- /dev/null +++ b/.codex/agents/reviewer.toml @@ -0,0 +1,9 @@ +model = "gpt-5.4" +model_reasoning_effort = "high" +sandbox_mode = "read-only" + +developer_instructions = """ +Review like an owner. +Prioritize correctness, security, behavioral regressions, and missing tests. +Lead with concrete findings and avoid style-only feedback unless it hides a real bug. +""" \ No newline at end of file From 254dd7ed55103412d351ff63265414e4b2c2d7b9 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 06:49:42 +0000 Subject: [PATCH 10/11] feat: add SCAI ECC bundle (.codex/agents/docs-researcher.toml) --- .codex/agents/docs-researcher.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .codex/agents/docs-researcher.toml diff --git a/.codex/agents/docs-researcher.toml b/.codex/agents/docs-researcher.toml new file mode 100644 index 0000000..0daae57 --- /dev/null +++ b/.codex/agents/docs-researcher.toml @@ -0,0 +1,9 @@ +model = "gpt-5.4" +model_reasoning_effort = "medium" +sandbox_mode = "read-only" + +developer_instructions = """ +Verify APIs, framework behavior, and release-note claims against primary documentation before changes land. +Cite the exact docs or file paths that support each claim. +Do not invent undocumented behavior. +""" \ No newline at end of file From 320303eccbb34d4c9515e9399d62cc40525031f6 Mon Sep 17 00:00:00 2001 From: "ecc-tools[bot]" <257055122+ecc-tools[bot]@users.noreply.github.com> Date: Wed, 5 Aug 2026 06:49:43 +0000 Subject: [PATCH 11/11] feat: add SCAI ECC bundle (.claude/homunculus/instincts/inherited/SCAI-instincts.yaml) --- .../instincts/inherited/SCAI-instincts.yaml | 127 ++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 .claude/homunculus/instincts/inherited/SCAI-instincts.yaml diff --git a/.claude/homunculus/instincts/inherited/SCAI-instincts.yaml b/.claude/homunculus/instincts/inherited/SCAI-instincts.yaml new file mode 100644 index 0000000..7aa3c7d --- /dev/null +++ b/.claude/homunculus/instincts/inherited/SCAI-instincts.yaml @@ -0,0 +1,127 @@ +# Instincts generated from https://github.com/daetan999/SCAI +# Generated: 2026-08-05T06:47:42.880Z +# Version: 2.0 +# NOTE: This file supplements (does not replace) any existing curated instincts. +# High-confidence manually curated instincts should be preserved alongside these. + +--- +id: SCAI-commit-conventional +trigger: "when writing a commit message" +confidence: 0.85 +domain: git +source: repo-analysis +source_repo: https://github.com/daetan999/SCAI +--- + +# SCAI Commit Conventional + +## Action + +Use conventional commit format with prefixes: docs + +## Evidence + +- 1 commits analyzed +- Detected conventional commit pattern +- Examples: docs: finalize SCAI portfolio showcase + +--- +id: SCAI-commit-length +trigger: "when writing a commit message" +confidence: 0.6 +domain: git +source: repo-analysis +source_repo: https://github.com/daetan999/SCAI +--- + +# SCAI Commit Length + +## Action + +Keep commit messages concise (~38 characters) + +## Evidence + +- Average commit message length: 38 chars +- Based on 1 commits + +--- +id: SCAI-naming-files +trigger: "when creating a new file" +confidence: 0.8 +domain: code-style +source: repo-analysis +source_repo: https://github.com/daetan999/SCAI +--- + +# SCAI Naming Files + +## Action + +Use camelCase naming convention + +## Evidence + +- Analyzed file naming patterns in repository +- Dominant pattern: camelCase + +--- +id: SCAI-import-relative +trigger: "when importing modules" +confidence: 0.75 +domain: code-style +source: repo-analysis +source_repo: https://github.com/daetan999/SCAI +--- + +# SCAI Import Relative + +## Action + +Use relative imports for project files + +## Evidence + +- Import analysis shows relative import pattern +- Example: import { x } from '../lib/x' + +--- +id: SCAI-export-style +trigger: "when exporting from a module" +confidence: 0.7 +domain: code-style +source: repo-analysis +source_repo: https://github.com/daetan999/SCAI +--- + +# SCAI Export Style + +## Action + +Prefer named exports + +## Evidence + +- Export pattern analysis +- Dominant style: named + +--- +id: SCAI-test-separate +trigger: "when writing tests" +confidence: 0.8 +domain: testing +source: repo-analysis +source_repo: https://github.com/daetan999/SCAI +--- + +# SCAI Test Separate + +## Action + +Place tests in the tests/ or __tests__/ directory, mirroring src structure + +## Evidence + +- Separate test directory pattern detected +- Tests live in dedicated test folders +