Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

tidal-lock潮汐锁

Agent Skill

tidal-lock 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,088

周安装

337

GitHub Stars

公开资料未说明

下载量

2,696
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tidal-lock(潮汐锁)
来源仓库:https://github.com/jcools1977/tidal-lock
安装命令:
openclaw skills install tidal-lock
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tidal-lock

简介

tidal-lock 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。

  • 适用于检测模块间耦合度、优化代码结构、提升组件独立性等前端架构改进场景。
  • 通过分析依赖关系和变更影响范围,提供解耦建议和重构方向。
  • 安装命令为 openclaw skills install tidal-lock,需确认是否会触发文件读写或网络请求。
  • 建议在使用前核查项目代码库结构和权限边界,避免误改关键模块。

SKILL.md

name
tidal-lock
version
1.0.0
description
>
author
J. DeVere Cooley
category
architecture-health
tags
metadata
openclaw
emoji
🌗
os
["darwin", "linux", "win32"]
cost
free
requires_api
false
tags

Tidal Lock

"In orbital mechanics, tidal locking occurs when a body's orbital period matches its rotational period — it can only face one direction. In software, tidal locking occurs when two components can only change together. They've lost the ability to face any other direction."

What It Does

Every software architecture diagram shows clean boxes with clean arrows. Reality is messier. Over time, components develop gravitational relationships — shared assumptions, implicit contracts, synchronized change requirements — that make them unable to evolve independently.

Tidal Lock detects these gravitational bonds before they become permanent.

The Physics of Code Coupling

In astrophysics, tidal locking is caused by gravitational gradient forces. In codebases, it's caused by coupling gradient forces:

Physical ForceCode EquivalentExample
Gravitational pullShared data structuresTwo services reading the same DB table
Tidal frictionSynchronized deploysService A fails if Service B isn't deployed first
Orbital resonanceMatching change frequencyEvery commit to module X requires a commit to module Y
Roche limitMerger threatComponents so coupled they should just be one module
Lagrange pointsStable mediatorsA third component that exists only to translate between two locked ones

The Five Degrees of Lock

Degree 0: Independent Orbit

Components are genuinely independent. Changing one has zero effect on the other. This is the ideal for components that shouldn't be related.

Degree 1: Gravitational Awareness

Components know about each other through well-defined interfaces. Changes to internals are isolated. Changes to the interface require coordination. This is healthy coupling.

Degree 2: Orbital Resonance

Components change at correlated frequencies. Not every change to A requires a change to B, but many do. The interface between them has become too wide or too leaky.

SYMPTOMS:
├── PRs frequently touch both components
├── "Don't forget to update the other side" appears in code reviews
├── Integration tests between them break more than unit tests
└── Deploy ordering matters sometimes

Degree 3: Synchronous Rotation

Components MUST change together. Every modification to A requires a corresponding modification to B. They share data structures, timing assumptions, or implicit contracts that make independent evolution impossible.

SYMPTOMS:
├── Cannot deploy A without deploying B
├── Changing A's internals breaks B's tests
├── Shared mutable state (database tables, global configs)
├── Copy-pasted type definitions kept "in sync" manually
└── Integration bugs outnumber all other bug types

Degree 4: Tidal Lock (Critical)

Components have lost their individual identity. They are one system pretending to be two. The boundary between them is a fiction maintained by the directory structure but violated by every data flow.

SYMPTOMS:
├── Circular dependencies (A imports B, B imports A)
├── Shared internal state (not just shared interfaces)
├── Cannot reason about one without fully understanding the other
├── "We should really merge these" has been said multiple times
└── New developers can't tell where one ends and the other begins

Degree 5: Roche Limit (Structural Failure)

The coupling is so severe that the components are actively tearing each other apart. Bugs in one appear as symptoms in the other. Changes cascade unpredictably. The architecture is in structural failure.

Detection Methodology

Phase 1: GRAVITATIONAL SURVEY
├── Map all explicit dependencies (imports, API calls, DB access)
├── Map all implicit dependencies (shared configs, env vars, timing)
├── Map change correlation (git co-change analysis)
├── Map deploy dependencies (must X deploy before/after Y?)
└── Map failure correlation (when X fails, does Y fail too?)

Phase 2: ORBITAL ANALYSIS
├── For each component pair, calculate:
│   ├── Change Coupling Score: How often do they change together?
│   ├── Interface Width: How much surface area connects them?
│   ├── Data Gravity: How much shared state exists?
│   ├── Temporal Coupling: Do they depend on ordering?
│   └── Failure Coupling: Do they fail together?
├── Composite score → Degree of Lock (0-5)
└── Trend analysis: Is coupling increasing or decreasing?

Phase 3: LOCK CARTOGRAPHY
├── Generate coupling map of the full system
├── Identify lock clusters (groups of mutually locked components)
├── Identify lock chains (A→B→C cascading coupling)
├── Calculate system-wide coupling health score
└── Flag components approaching the Roche limit

Phase 4: ORBITAL MECHANICS REPORT
├── For each locked pair, explain:
│   ├── What force is causing the lock
│   ├── How long the lock has existed (git history analysis)
│   ├── Whether the lock is increasing or stable
│   └── Decoupling strategy (if decoupling is warranted)
├── System-wide coupling topology
└── Priority ranking: which locks to break first

Decoupling Strategies by Force Type

Coupling ForceDecoupling Strategy
Shared DB tablesIntroduce owned views or dedicated read models per service
Shared data typesDefine contracts at the boundary, allow internal divergence
Deploy orderingAdd graceful degradation and version negotiation
Change correlationExtract the shared concern into its own module
Circular importsIntroduce an interface/protocol layer; invert one dependency
Shared mutable stateEvent-driven communication; each component owns its state
Timing assumptionsExplicit synchronization; remove implicit ordering

Output Format

╔══════════════════════════════════════════════════════════════╗
║                    TIDAL LOCK ANALYSIS                      ║
║            System Coupling Health: 64/100                   ║
╠══════════════════════════════════════════════════════════════╣
║                                                              ║
║  LOCK SEVERITY DISTRIBUTION:                                 ║
║  ├── Degree 0 (Independent): 12 pairs  ████████████  ✓      ║
║  ├── Degree 1 (Aware):        8 pairs  ████████      ✓      ║
║  ├── Degree 2 (Resonant):     5 pairs  █████         ⚠      ║
║  ├── Degree 3 (Synchronous):  2 pairs  ██            ⚠⚠     ║
║  ├── Degree 4 (Locked):       1 pair   █             🔴     ║
║  └── Degree 5 (Roche):        0 pairs                ✓      ║
║                                                              ║
║  CRITICAL LOCK:                                              ║
║  ┌─────────────────────────────────────────────────────┐     ║
║  │  UserService ←→ BillingService                      │     ║
║  │  Degree: 4 (Tidal Lock)                             │     ║
║  │  Force: Shared DB (users table), circular imports   │     ║
║  │  Duration: 14 months (increasing)                   │     ║
║  │  Co-change rate: 89% of commits touch both          │     ║
║  │  Strategy: Extract UserProfile as shared contract;  │     ║
║  │            give Billing its own customer table       │     ║
║  └─────────────────────────────────────────────────────┘     ║
║                                                              ║
║  LOCK CHAINS:                                                ║
║  Auth → Users → Billing → Invoicing (4-component chain)     ║
║  Any change to Auth cascades through 3 downstream services   ║
║                                                              ║
║  TREND: System coupling increased 12% in last quarter        ║
╚══════════════════════════════════════════════════════════════╝

When to Invoke

  • Before splitting a monolith into services (find out what's *actually* independent)
  • After microservice adoption (verify you didn't build a distributed monolith)
  • When deploys keep breaking unrelated services
  • When "simple changes" take weeks because of cascading modifications
  • During architecture reviews to assess modularity health

Why It Matters

The promise of modularity is independent evolution. When components become tidally locked, that promise is broken — you have the overhead of multiple components with the rigidity of a monolith. The worst of both worlds.

Tidal Lock shows you where independence has been surrendered, so you can decide: decouple them, or honestly merge them. Either is better than the fiction of modularity with the reality of lock.

Zero external dependencies. Zero API calls. Pure structural and historical analysis.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.46%
按下载量换算2,385

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills