Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问clear审计通过

laneweavertms-feature-workflowLaneweavertms 功能工作流程

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

353

周安装

15

GitHub Stars

4

下载量

124
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:laneweavertms-feature-workflow(Laneweavertms 功能工作流程)
来源仓库:https://github.com/linehaul-ai/linehaulai-claude-marketplace
仓库路径:skills/laneweavertms-feature-workflow
安装命令:
npx skills add https://github.com/linehaul-ai/linehaulai-claude-marketplace --skill laneweaverTMS-feature-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/linehaul-ai/linehaulai-claude-marketplace --skill laneweaverTMS-feature-workflow

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等代码,整理组件结构或定位布局问题。
  • 需结合项目现有设计系统、路由和构建方式使用,避免生成孤立片段。
  • 涉及页面改动时应配合本地预览和构建检查确认视觉效果。
  • 安装前建议确认权限范围和维护状态,以及是否会触发文件读写操作。

SKILL.md

laneweaverTMS Feature Workflow

An orchestration guide for implementing end-to-end features in laneweaverTMS. This skill coordinates other skills and agents rather than duplicating their content.

When to Use This Skill

Use when:

  • Implementing a new feature that spans multiple layers (database, backend, frontend)
  • Adding a new entity/resource to the system
  • Planning feature implementation order
  • Deciding which skills or agents to invoke

Pre-Implementation Checklist

Before writing any code, ensure:

RequirementQuestions to Answer
Feature RequirementsWhat does the user story say? What are the acceptance criteria?
Database SchemaNew tables needed? New columns on existing tables? New ENUMs?
API EndpointsWhat REST endpoints are needed? Request/response shapes?
Frontend ComponentsNew pages? New components? Which existing patterns apply?
Domain KnowledgeAny freight-specific terminology or business logic involved?

Step-by-Step Implementation Workflow

Step 1: Database Schema (If Changes Needed)

When: New tables, columns, ENUMs, or constraints required.

How to Execute:

  1. Invoke schema-migration-agent for database work

- Isolates the 500KB erd.sql context - Generates migration files in supabase/migrations/

  1. Use supabase:laneweaver-database-design skill for conventions

Output: Migration file(s) in supabase/migrations/

Key Conventions (see supabase:laneweaver-database-design for details):

  • UUID primary keys (except users table)
  • Required audit columns: created_at, updated_at, created_by, updated_by, deleted_at, deleted_by
  • Soft deletes via deleted_at column
  • Manual FK indexes (PostgreSQL does not auto-index)

Step 2: Models (/internal/models/)

When: Always, for any new entity or DTO.

How to Execute:

  1. Use golang-orchestrator:backend-service-patterns skill
  2. Create Go structs with proper tags

Pattern:

type MyEntity struct {
    ID        string     `db:"id" json:"id"`
    Name      string     `db:"name" json:"name"`
    Status    MyStatus   `db:"status" json:"status"`

    // Audit fields (always include)
    CreatedAt time.Time  `db:"created_at" json:"createdAt"`
    UpdatedAt time.Time  `db:"updated_at" json:"updatedAt"`
    CreatedBy *int32     `db:"created_by" json:"createdBy,omitempty"`
    UpdatedBy *int32     `db:"updated_by" json:"updatedBy,omitempty"`
    DeletedAt *time.Time `db:"deleted_at" json:"deletedAt,omitempty"`
}

Output: Model file in /internal/models/


Step 3: Repository (/internal/repository/)

When: Always, for any new entity.

How to Execute:

  1. Use golang-orchestrator:backend-service-patterns skill
  2. Implement SQL queries with soft delete handling

Key Requirements:

  • All queries include WHERE deleted_at IS NULL
  • Use transactions for multi-table operations
  • Use QueryBuilder for complex filters
  • Handle pgx.ErrNoRows for not-found cases

Output: Repository file in /internal/repository/


Step 4: Service (/internal/services/)

When: Always, for any new entity or business operation.

How to Execute:

  1. Use golang-orchestrator:backend-service-patterns skill
  2. Implement business logic and validation

Key Requirements:

  • Validate requests at method start
  • Return ValidationErrors for business rule failures
  • Orchestrate multiple repositories as needed
  • Use context.Context throughout

Output: Service file in /internal/services/


Step 5: Handler (/internal/handlers/)

When: Always, for any new API endpoint.

How to Execute:

  1. Use golang-orchestrator:backend-service-patterns skill
  2. Implement HTTP handlers with Echo

Key Requirements:

  • Bind request with c.Bind()
  • Return APIResponse wrapper for all responses
  • Add Swagger/OpenAPI annotations
  • Type-assert ValidationErrors for 400 responses

Output: Handler file in /internal/handlers/


Step 6: Router (/internal/router/)

When: Always, for any new endpoint.

How to Execute:

  1. Register endpoints in Setup function
  2. Follow RESTful conventions

Pattern:

// In router/router.go Setup function
myEntities := api.Group("/my-entities")
myEntities.GET("", myEntityHandler.List)
myEntities.POST("", myEntityHandler.Create)
myEntities.GET("/:id", myEntityHandler.GetByID)
myEntities.PUT("/:id", myEntityHandler.Update)
myEntities.DELETE("/:id", myEntityHandler.Delete)

Output: Updated /internal/router/router.go


Step 7: Frontend (If UI Needed)

When: Feature requires user-facing components.

How to Execute:

  1. Invoke frontend-component-agent for Svelte work

- Isolates frontend context (different mental model from Go) - Knows Svelte 5, SvelteKit, shadcn-svelte patterns

  1. Use svelte5-runes skill for reactivity patterns
  2. Use shadcn-svelte-skill for UI components

Output: Svelte components in frontend project


Skill Reference Matrix

Choose the right skill for each concern:

ConcernSkill to Use
Database tables, migrations, indexessupabase:laneweaver-database-design
Go handlers, services, repositoriesgolang-orchestrator:backend-service-patterns
Go idioms and best practicesgolang-orchestrator:effective-go
Echo router and middlewaregolang-orchestrator:echo-router-skill
Svelte 5 reactivity ($state, $derived)svelte5-runes
UI components (buttons, forms, dialogs)shadcn-svelte-skill
Freight industry terminologyfreight-domain-glossary
Load status lifecycleload-lifecycle-patterns

Agent Reference Matrix

Use agents for context isolation:

AgentWhen to UseWhy Isolate?
schema-migration-agentDatabase schema workIsolates 500KB erd.sql from main context
frontend-component-agentSvelte component workDifferent mental model (reactive vs imperative)

Implementation Order Rules

  1. Database first: Schema changes must exist before Go code references them
  2. Models before repository: Structs must exist before SQL mapping
  3. Repository before service: Data access before business logic
  4. Service before handler: Business logic before HTTP layer
  5. Handler before router: Handler must exist before route registration
  6. Backend before frontend: API must exist before UI calls it

Common Feature Patterns

Adding a New Entity (CRUD)

1. schema-migration-agent → Create table + indexes
2. /internal/models/ → Entity struct + DTOs
3. /internal/repository/ → CRUD queries
4. /internal/services/ → Business logic + validation
5. /internal/handlers/ → HTTP handlers
6. /internal/router/ → Route registration
7. frontend-component-agent → List page + form (if UI needed)

Adding a Field to Existing Entity

1. schema-migration-agent → ALTER TABLE + index (if needed)
2. /internal/models/ → Add field to struct
3. /internal/repository/ → Update queries
4. /internal/handlers/ → Update DTOs (if exposed via API)

Adding a Status Workflow

1. schema-migration-agent → Create ENUM + add column
2. /internal/models/ → Define enum constants + validation
3. /internal/services/ → Implement state machine logic
4. Use load-lifecycle-patterns skill for reference

Anti-Patterns to Avoid

Anti-PatternWhy It FailsDo This Instead
Skipping database migrationGo code references non-existent columnsAlways start with schema
Business logic in handlersUntestable, duplicated codeMove logic to services
Raw SQL strings everywhereSQL injection, hard to maintainUse parameterized queries
Ignoring soft deletesOrphaned data, broken queriesAlways check deleted_at IS NULL
Frontend before APIUI calls non-existent endpointsBuild API first

Quick Decision Guide

Need database changes? → schema-migration-agent + supabase:laneweaver-database-design
Need Go backend code? → golang-orchestrator:backend-service-patterns
Need frontend UI? → frontend-component-agent + svelte5-runes + shadcn-svelte-skill
Unclear on freight terms? → freight-domain-glossary
Implementing load states? → load-lifecycle-patterns

Remember: This skill orchestrates other skills. When you need implementation details, invoke the appropriate specialized skill rather than trying to implement from memory.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

29.36%
按下载量换算36

Antigravity

21.55%
按下载量换算27

windsurf

15.76%
按下载量换算20

Codex

13.55%
按下载量换算17

OpenCode

8.6%
按下载量换算11

Gemini CLI

3.8%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills