Logo von Sp Coding Agent

Sp Coding Agent

Community
cuongpt083
sp-coding-agent

Use when a coding task is vague or under-specified. Extracts missing context across 9 code-native categories before the agent executes file changes. Designed for OpenAI Codex, Anthropic Claude Code, and Google Gemini Code Assist.

Übersicht

Herausgebercuongpt083
Repositorysmart-pole-skill
Skill-Namesp-coding-agent
Sterne
31
Forks
15
Mitgelieferte Dateien
6
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • 6 mitgelieferte Dateien

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von cuongpt083 auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Sp Coding Agent in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/cuongpt083/smart-pole-skill/tree/main/skills/sp-coding-agent
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cuongpt083/smart-pole-skill.git /tmp/smart-pole-skill
mkdir -p .claude/skills
cp -r /tmp/smart-pole-skill/skills/sp-coding-agent .claude/skills/sp-coding-agent
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Sp Coding Agent in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Sp Coding Agent automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Sp Coding Agent nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

SMART POLE Coding Agent Skill

This Skill implements the SMART POLE framework adapted for AI Coding Agents. Unlike the chatbot versions (Instructor/Enforcer), this skill operates on codebases — scanning project files, extracting context automatically, and ensuring the agent has enough information before writing code.


How to Load This Skill

  1. Set system prompt: Load references/system-prompt.md as the agent's system prompt (e.g., paste into AGENTS.md, .claude/system_prompt.md, or the agent's system role configuration).
  2. Provide reference files: Make references/logic.md, references/overlap-rules.md, and references/coding-agent-categories.md available in the agent's context or knowledge base.
  3. Invoke: Give the agent a vague or specific coding task. The agent will ORIENT (scan the codebase), CLASSIFY the task type, EXTRACT SP-categories, and check execution gates before touching any file.

Reference Files

FilePurpose
references/system-prompt.md🔴 Required — Full Coding Agent system prompt (v4.0). Load as the agent's system instructions.
references/logic.mdFramework logic: category definitions, weighted scoring, task-type classification, generic-to-coding task mapping.
references/overlap-rules.mdAtom overlap rules, conflict detection, Functional Gravity principle, and the One Atom One Slot rule.
references/coding-agent-categories.mdCode-native sub-dimensions for all 9 SP-categories with auto-detection sources and hard-stop gate definitions.

When to Use This Skill

  • A user gives a vague coding task ("fix the login bug", "add pagination")
  • Before an agent starts multi-file code changes
  • When a task involves unfamiliar parts of a codebase
  • Migration or refactoring tasks where scope control is critical

How It Works

  1. ORIENT: Agent scans project root (README.md, AGENTS.md, package.json, Dockerfile, etc.)
  2. CLASSIFY: Determine task type (Bug Fix / Feature / Refactor / Migration / Infra)
  3. EXTRACT: Map request to 9 code-native SP-categories
  4. DETECT FLAWS: Identify missing context, overlaps, and conflicts; ask user if critical
  5. PLAN: Create implementation plan with file-level scope
  6. EXECUTE: Apply file changes within approved scope
  7. VERIFY: Run tests, lint, type-check; self-heal on failures

The 9 Code-Native Categories

AbbrevCategoryCode MeaningPriority
SStyleCode standards, linting, architecture pattern🟢 Auto-detect
MMasteryDeveloper expertise level — split into Domain vs Task (see below)🟡 Contextualizer
AAimDefinition of Done, acceptance criteria, success metric🔴 CORE
RResourceAllowed/forbidden deps, API quotas, team contacts, internal docs🟡 Contextualizer
TTimeDeadline, urgency level (hotfix vs long-term), sprint constraints🟢 Accelerator
PPeopleTeam conventions, reviewer persona, implicit values & preferences🟡 Contextualizer
OOutlineAuthorized file scope, folder boundaries, what NOT to touch🔴 CORE
LLocaleRuntime ecosystem, language/framework version, legal/infra constraints🟡/🔴 CONDITIONAL
EExampleReference code snippets, similar PRs, anti-pattern stories🟡/🟢 CONDITIONAL

Category Deep-Dives (SP-Flaw Prevention)

⏱️ T — Time: Urgency Only, Not Quality

T answers: "How much time do I have?" — deadline, sprint slot, hotfix vs planned refactor.

⚠️ T-Flaw (Category Overlap): Do NOT put acceptance criteria or content depth requirements inside T.

  • ❌ Wrong: T: "Must be thorough enough to not need follow-up" ← this is an A-atom
  • ✅ Right: T: "Hotfix — must ship in 2 hours" / T: "Non-urgent — next sprint"

Quality gates and success criteria belong in Aim (A) or Outline (O), not Time.


👥 P — People: Make Implicit Traits Explicit

P answers: "Who is involved and what are their hidden assumptions?"

Beyond team conventions, always surface:

  • Reviewer Persona: Does the reviewer prioritize security over speed? Hate over-engineered abstractions?
  • Implicit Values: Prefers functional style? Allergic to ORMs? Values minimal diffs?
  • Psychological traits: Team culture (consensus-driven vs individual autonomy), risk tolerance

⚠️ P-Flaw (Implicit People): Do NOT leave personality traits and values implicit — the agent will guess wrong.

  • ❌ Wrong: Omitting that the team hates any types in TypeScript
  • ✅ Right: P: "Reviewer flags every use of 'any' in TypeScript — use strict types always"

🎓 M — Mastery: Always Split Domain vs Task

M answers: "What does the developer know — and in which dimension?"

Always decompose Mastery into two parts:

DimensionMeaningExample
M-DomainExpertise in tech stack / roleSenior React, Junior DevOps
M-TaskExperience with this specific task typeNever integrated Stripe before, First time with WebSocket

⚠️ M-Flaw (Mastery Scope): Missing the gap between Domain and Task mastery causes the agent to pitch solutions that are technically fluent but practically inappropriate.

  • ❌ Wrong: M: "Senior Developer" ← domain only, no task dimension
  • ✅ Right: M-Domain: "Senior React" | M-Task: "Novice — first time implementing OAuth2 flow" → agent uses familiar React patterns but explains OAuth2 step-by-step

🧰 R — Resource: Tools + People + Data

R answers: "What weapons do I have — and what is forbidden?"

Resource includes three dimensions, not just software:

DimensionExamples
ToolsAllowed libs/frameworks, CI/CD pipeline, dev environment
People / NetworkTeam members who can review, external consultants, on-call SMEs
Data / DocsInternal wikis, API docs, log access (/var/log/auth.log), Sentry

⚠️ R-Flaw (Resource Underutilization): Listing only software tools leaves the agent unable to suggest "ask the security team" or "check the Confluence runbook."

  • ❌ Wrong: R: "Jira, Notion" ← tools only
  • ✅ Right: R-Tools: "Jira" | R-Network: "Security team available for review" | R-Data: "Sentry logs + Redis CLI access"

Also supply Negative Atoms (what is forbidden):

R-Forbidden: "No new npm deps without approval, no changes to DB schema"


📌 E — Example: The Anchor Atom

E answers: "What should the output look like — concretely?"

In coding context, a Gold Standard E-atom is a matched pair:

E-atom TypeWhat it looks like
Code snippetBefore/after code block showing the pattern to follow
Similar PRLink or description of a past PR that solved a comparable bug
Input/Output pairExpected test case: input state → expected behavior
Anti-example (Story)"Last time we did X this way, it broke Y — avoid this pattern"

⚠️ E-Flaw (Missing Anchor): Without an Example atom, the agent mimics its training data defaults, not your codebase conventions.

  • ❌ Weak: E: "Make it look clean" ← too vague, gives agent no anchor
  • ✅ Gold: E: "Follow the pattern in auth_service.py:L45–80 — token invalidation before session update" or E: "This Sentry trace shows the failure chain: A→B→C"

Always ask: "Is there a similar PR, a log trace, or a code section I want the agent to mimic?"


Auto-Extraction Sources

Source FileSP-Categories Extracted
.eslintrc / ruff.tomlS (Style)
package.json / pyproject.tomlR (Resource), L (Locale)
Dockerfile / docker-compose.ymlL (Locale), R (Resource)
AGENTS.md / SKILL.mdP (People), S (Style)
CI/CD configs (.github/workflows/)R (Resource), A (Aim quality gates)

Coding Task Classification

Task TypePrimary SP-catsAgent Behavior
Bug FixA, E, OMinimal change + regression test
FeatureA, O, RPlan → implement → test
RefactorO, E, PPreserve behavior, improve structure
MigrationL, R, TIncremental, backward compatible
InfraL, R, AInfrastructure as Code, idempotent

Task Taxonomy Mapping (Generic → Coding)

Use this mapping to bridge generic SMART POLE task types in references/logic.md with coding-agent task types.

Generic Task Type (references/logic.md)Coding Task Type(s)Default Interpretation
DeterministicBug Fix, RefactorBehavior is constrained; prioritize reproducibility and regression tests
GenerativeFeatureNew capability; prioritize clear DoD and explicit scope boundaries
AdvisoryRefactor, Migration, InfraArchitecture/process guidance; convert advice into testable acceptance criteria before coding
DiscoveryFeature (spike), Migration (assessment)Exploration is allowed, but execution stays minimal and reversible
ComplianceInfra, Migration, Bug FixRegulatory/security constraints are first-class acceptance criteria

Execution Gates (Hard Stops)

Do not execute code changes until all hard-stop gates pass:

  1. Gate A (Aim): At least one testable acceptance criterion exists.
  2. Gate O (Outline): Authorized scope is explicit (or defaults to minimal scope) and forbidden scope is respected.
  3. Gate Conflict: All SP-conflict items are resolved by user decision.
  4. Gate Overlap: Apply One Atom, One Slot from references/overlap-rules.md; no double-counted atoms.
  5. Gate Score: Weighted readiness score is >= 67% of the applicable max score (per references/logic.md task-type weighting).

If any gate fails:

  • Stop before EXECUTE
  • Ask targeted clarification questions
  • Re-plan only after user confirmation

Worked Example: Bug Fix Context Extraction

User request: "Fix the login bug — users can't login after password reset"

SP-catAtomWhy here, not elsewhere
SAuto-detect from .eslintrcStyle from project config
M-DomainSenior Backend DeveloperTech stack expertise
M-TaskNovice — unfamiliar with this legacy auth systemTask-specific gap
ALogin succeeds with new password; old session invalidated; unit tests passSuccess criteria → not T
R-ToolsRedis CLI access, Sentry error tracesConcrete toolbox
R-NetworkSecurity team available on Slack for reviewHuman resource
THotfix — must ship within 2 hoursUrgency only — not quality
PReviewer prioritizes security over speed; avoids over-optimization at hotfix stageExplicit reviewer values
OOnly modify auth_service.py and password_controller.pyScope boundary
LPython 3.11, Django 4.2, Redis 7Runtime ecosystem
ESentry trace shows: PasswordReset→UpdateDB→[FAIL: session not invalidated]→LoginConcrete anchor

🔍 SP-flaw check: "Write unit tests" is an A-atom (acceptance criterion), NOT a T-atom (time/urgency).

Key Differences from Chatbot Versions

AspectInstructor/EnforcerCoding Agent
OutputMaster Prompt textWorking code + passing tests
Reasoning visibilityPrompt-analysis orientedConcise decisions tied to files/tests (no explicit CoT requirement)
VerificationUser reviews promptAgent runs tests automatically
ContextConversation onlyCodebase + configs + file system
Self-healingN/AAuto-fix on test failure (max 3 attempts)

Optional: Integration with Other Skills

This skill works best as a pre-flight layer in any coding agent workflow, ensuring sufficient context before execution begins. Pair with project-specific AGENTS.md or workflow files.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Sp Coding Agent?

Use when a coding task is vague or under-specified. Extracts missing context across 9 code-native categories before the agent executes file changes. Designed for OpenAI Codex, Anthropic Claude Code, and Google Gemini Code Assist.

Warum Sp Coding Agent in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Sp Coding Agent besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Sp Coding Agent in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/cuongpt083/smart-pole-skill/tree/main/skills/sp-coding-agent ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Sp Coding Agent nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Sp Coding Agent verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Sp Coding Agent damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Sp Coding Agent kostenlos?

Ja. Der Skill wird von cuongpt083 auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇