ttb-skill-shared

ttb-skill-shared is a skill for Claude Code, Codex from tqtuan1201/TTBaseUIKit. It costs 40 tokens per session (3,261 once invoked), scanned A, original, MIT.

A shared set of rules, workflows, references, and verification resources for TTBaseUIKit development skills. It also defines a required review process before code or project changes are made.

In plain words
What is it for?
Use it to coordinate project changes, analyze requirements, detect missing information, guide clarification questions, and verify work.
Why use it?
It gives related skills the same standards and requires unclear requirements to be resolved before execution.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is ├── ttb-skill-registry.md ← compatibility shim to ../ttb-skill-registry.md.

Good fit Use it to coordinate project changes, analyze requirements, detect missing information, guide clarification questions, and verify work.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/tqtuan1201/TTBaseUIKit
agentmods
npx agentmods add skills/tqtuan1201/ttbaseuikit/ttb-skill-shared

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ttb-skill-shared

README.md
[![agentmods](https://agentmods.dev/badge/skills/tqtuan1201/ttbaseuikit/ttb-skill-shared/github.svg)](https://agentmods.dev/skills/tqtuan1201/ttbaseuikit/ttb-skill-shared)
Your own site
<a href="https://agentmods.dev/skills/tqtuan1201/ttbaseuikit/ttb-skill-shared"><img src="https://agentmods.dev/badge/skills/tqtuan1201/ttbaseuikit/ttb-skill-shared/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ttb-skill-shared

Your own site · 80×15
<a href="https://agentmods.dev/skills/tqtuan1201/ttbaseuikit/ttb-skill-shared"><img src="https://agentmods.dev/badge/skills/tqtuan1201/ttbaseuikit/ttb-skill-shared.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,261 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.03261
Opus 5 $0.00020 $0.01631
Sonnet 5 $0.00008 $0.00652
Haiku 4.5 $0.00004 $0.00326

Measured 10d ago against content hash 3266c9b694b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ttb-skill-shared scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/ttb-compliance-check.sh, scripts/ttb-precheck.sh, scripts/ttb-routing-validate.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Agents/Antigravity/ttb-skill-shared/SKILL.md · 241 lines

How it starts

The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ttb-skill-shared

Shared resources referenced by ALL TTBaseUIKit skill sets. Rules | Phases | References | Anti-Patterns | Standards | Scripts

Mandatory Preflight Execution Gate

Before this skill generates code, refactors, migrates, modifies files, creates architecture, updates UI/navigation, changes dependencies, updates workflows, or changes business logic, run the shared gate:

  • ttb-skill-shared/fragments/ttb-preflight-execution-gate.frag.md
  • ttb-skill-shared/fragments/ttb-cross-functional-analysis-gate.frag.md for feature updates, new features, and bug fixes
  • ttb-skill-shared/templates/ttb-clarification-survey.md when confidence is below threshold

Required phase order: Requirement Analysis -> Context Validation -> Ambiguity Detection -> Missing Information Detection -> Survey / Clarification -> Confidence Evaluation -> Execution Approval.

Execution thresholds:

Confidence Action
90-100 Execute directly and state key assumptions
70-89 Execute only with documented low-risk assumptions
<70 Do not execute; ask a concise survey first

Cap confidence at 69 when target module, architecture direction, UIKit/SwiftUI choice, navigation behavior, API/business logic, localization format, state management, dependency info, or ownership is unclear. Parse English, Vietnamese, mixed-language, diacritic-free Vietnamese, and light typos before scoring.

For feature updates, new feature development, and bug fixes, always apply cross-functional analysis as Product Owner, Business Analyst, UX/UI Designer, Solution Architect, Senior Developer, and QA. Compare implementation options across business, architecture, UI/UX, performance, scalability, maintainability, security, testing, and operations; ask at least 5 value-expansion questions after analysis. If requirements are ambiguous/incomplete, ask at least 6 blocker clarification questions before design/development.

Directory Structure

ttb-skill-shared/
├── SKILL.md                              ← This file
├── ttb-skill-registry.md                 ← compatibility shim to ../ttb-skill-registry.md
├── routing/
│   ├── intent-manifest.json              ← machine-readable semantic routing
│   ├── multilingual-aliases.json         ← EN/VI aliases, typos, shorthand
│   ├── intent-router.md                  ← human-readable routing contract
│   └── router-examples.md                ← routing regression examples
├── workflows/
│   └── ttb-workflow-standard.md          ← preflight, state, retry, fallback, verification contract
├── rules/
│   ├── ttb-rule-anti-patterns.md        ← Component, pattern, performance anti-patterns
│   ├── ttb-rule-coding-standards.md        ← File header, imports, MARK, naming
│   ├── ttb-rule-memory-leaks.md          ← Retain cycle & memory detection
│   └── ttb-rule-comments.md             ← Doc comments, inline comments, SwiftUI MARK
├── phases/
│   ├── ttb-phase-feature-research.md        ← Phase 1: Research & validation
│   ├── ttb-phase-feature-spec.md            ← Phase 2: PRD, data model, BDD
│   ├── ttb-phase-implementation.md            ← Phase 4: Build with xcodebuild
│   ├── ttb-phase-code-review.md              ← Phase 5: FCR 7-Dimension audit
│   └── ttb-phase-verify.md                  ← Phase 6: Post-build verification (MANDATORY)
├── refs/
│   ├── ttb-ref-ttbasesui.md              ← TTBaseSUI component reference
│   ├── ttb-ref-ttbaseuikit.md             ← TTBaseUIKit API reference
│   ├── ttb-ref-config-tokens.md            ← Colors, sizes, fonts
│   ├── ttb-ref-ios14-compatibility.md      ← iOS 14 API compatibility guide
│   ├── ttb-ref-swiftui-performance.md      ← SwiftUI performance optimization
│   ├── ttb-ref-swiftui-architecture.md      ← Clean Architecture for SwiftUI
│   └── ttb-ref-navigation.md             ← Navigation pattern reference (NEW)
├── fragments/
│   ├── ttb-preflight-execution-gate.frag.md ← requirement/context/ambiguity/confidence gate
│   ├── ttb-cross-functional-analysis-gate.frag.md ← product/BA/UX/architecture/dev/QA analysis gate
│   ├── ttb-iron-laws.frag.md            ← 11 mandatory Iron Laws
│   └── ttb-marker.frag.md               ← Code generation marker
├── templates/
│   ├── SKILL.md.template                ← new skill template
│   ├── prompt.md.template               ← new prompt template
│   └── ttb-clarification-survey.md      ← standardized clarification surveys
└── scripts/
    ├── ttb-verify.sh                     ← Post-build verification
    ├── ttb-compliance-check.sh             ← grep-based compliance checks
    ├── ttb-precheck.sh                    ← Pre-skill prerequisite gate
    └── ttb-routing-validate.sh            ← Routing metadata validation

Read the full file on GitHub · 241 lines

Files

What ships with it

34 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 241 lines · 40 tokens per session scan A 3266c9b694b1

Subscribe to this mod's changes

ttb-skill-shared is a skill published in the GitHub repository tqtuan1201/TTBaseUIKit (23 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 3,261 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ai-loop

Runs a bounded spec-build-review development loop with explicit scope, stop conditions, and human approval gates for risky or ambiguous work.

sickn33/agentic-awesome-skills · 28 tokens

mpm-workflow

Manage and customize MPM workflow configurations with local overrides.

bobmatnyc/claude-mpm · 15 tokens

langgraph

LangGraph 1.x (LTS) Python workflow patterns for state management, delta channels, resilience (node timeouts, error handlers, graceful drain), routing, parallel execution, supervisor-worker, tool calling, checkpointing, human-in-loop, streaming (v2 format), subgraphs, and functional API. Use when building LangGraph…

yonatangross/orchestkit · 80 tokens

plan

Epic decomposition into trackable, right-sized tasks. Three modes — audit-aware (codebase-audit reports), workflow-audit-aware (handoff.yaml with pre-rated findings), standalone (from scratch). Light convention scanning for projects without CLAUDE.md.

Terryc21/workflow-audit · 53 tokens

workflow-audit

Systematic UI workflow auditing for SwiftUI applications. Discovers entry points, traces user flows, detects dead ends and broken promises, audits data wiring, evaluates from user perspective. Triggers: "workflow audit", "audit flows", "find dead ends", "check navigation".

Terryc21/workflow-audit · 59 tokens

aios-workflow-router

A workflow router for AIOS, a system that chooses and runs software-development capabilities. It coordinates planning, execution, safety checks, teams, recovery, and verification.

rexleimo/aios · 104 tokens