elysia-admin: Instructions file for Kiro

.kiro/steering/frontend-vue.md

elysia-admin frontend-vue.md is an instructions file for Kiro from meishanlaoyao/elysia-admin. It costs 2,383 tokens per session, scanned A, original, MIT.

Project-specific instructions for building Vue 3 and TypeScript frontend features in the Elysia Admin project. They define where pages, API wrappers, type declarations, search forms, and dialogs should go and how they should be structured.

In plain words
What is it for?
Use them when adding or changing admin pages, API modules, TypeScript declarations, search forms, and add-or-edit dialogs in this Vue project.
Why use it?
They reduce inconsistency by giving developers a shared file layout and coding pattern. They also clarify how frontend types and HTTP request wrappers correspond to backend data.

Instructions file for Kiro

Written for Kiro: installed under .kiro/.

This is meishanlaoyao/elysia-admin's own configuration. It tells Kiro how to work on elysia-admin itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything elysia-admin configures →

Reuse

Borrowing it

Nothing to install: this file belongs to meishanlaoyao/elysia-admin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/meishanlaoyao/elysia-admin/master/.kiro/steering/frontend-vue.md
Clone the repo
git clone --depth 1 https://github.com/meishanlaoyao/elysia-admin

Made for: Kiro.

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 elysia-admin frontend-vue.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/meishanlaoyao/elysia-admin/frontend-vue/github.svg)](https://agentmods.dev/instructions/meishanlaoyao/elysia-admin/frontend-vue)
Your own site
<a href="https://agentmods.dev/instructions/meishanlaoyao/elysia-admin/frontend-vue"><img src="https://agentmods.dev/badge/instructions/meishanlaoyao/elysia-admin/frontend-vue/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 elysia-admin frontend-vue.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/meishanlaoyao/elysia-admin/frontend-vue"><img src="https://agentmods.dev/badge/instructions/meishanlaoyao/elysia-admin/frontend-vue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,383 This file is loaded in full into every session.
When invoked 2,383 The same file — it is already loaded in full.
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.02383 $0.02383
Opus 5.5 $0.00953 $0.00953
Sonnet 5.5 $0.00477 $0.00477
Haiku 4.5 $0.00238 $0.00238

Measured 2mo ago against content hash 7e58ce2a010e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

elysia-admin frontend-vue.md 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 2mo ago.

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.

.kiro/steering/frontend-vue.md · 244 lines

How it starts

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

前端模块规范(Vue 3 + TypeScript)

与 .cursor/rules/frontend.mdc 同源。详细代码模板:

#[[file:.ai/AI_CODE_EXAMPLES_FRONTEND.md]]

Frontend File Structure

admin/src/
    types/api/{group}-{name}.d.ts   ← type declarations (declare namespace Api)
    api/{group}/{name}.ts           ← HTTP wrappers only
    views/{group}/{name}/
        index.vue                   ← page container (useTable, columns, dialog control)
        modules/
            {name}-search.vue       ← search form only
            {name}-dialog.vue       ← add/edit form only

Type Declaration Pattern (types/api/)

declare namespace Api {
    namespace GroupName {  // PascalCase group + module name
        interface NameListItem {
            nameId?: number;
            fieldA?: string;
            status?: boolean;
            createTime?: Date;
            // ... mirror backend schema fields
        }
        type NameList = Api.Common.PaginatedResponse<NameListItem>
        type NameSearchParams = Partial<
            Pick<NameListItem, 'fieldA' | 'status'> &
            Api.Common.CommonSearchParams
        >
    }
}

API Layer Pattern (api/{group}/{name}.ts)

import request from '@/utils/http'

// Naming: fetch + Action + ModuleName
export function fetchCreateName(data: Api.GroupName.NameListItem) {
    return request.post({ url: '/api/group/name', data, showSuccessMessage: true, showErrorMessage: true })
}
export function fetchGetNameList(params: Api.GroupName.NameSearchParams) {
    return request.get<Api.GroupName.NameList>({ url: '/api/group/name/list', params })
}
export function fetchGetNameDetail(id: number) {
    return request.get<Api.GroupName.NameListItem>({ url: `/api/group/name/${id}` })
}
export function fetchUpdateName(data: Api.GroupName.NameListItem) {
    return request.put({ url: '/api/group/name', data, showSuccessMessage: true, showErrorMessage: true })
}
export function fetchDeleteName(ids: number | string) {
    return request.delete({ url: `/api/group/name/${ids}`, showSuccessMessage: true, showErrorMessage: true })
}

Read the full file on GitHub · 244 lines

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. 2mo ago First seen · 244 lines · 2,383 tokens per session scan A 7e58ce2a010e

Subscribe to this mod's changes

elysia-admin frontend-vue.md is an instructions file published in the GitHub repository meishanlaoyao/elysia-admin (54 stars, last pushed 15d ago), licensed MIT. It adds 2,383 tokens to every session, about $0.0095 per session on Opus 5.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-09-06.

Related

elysia-admin frontend-vue.md compared with instructions from other repositories

elysia-admin frontend-vue.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elysia-admin frontend-vue.mdmeishanlaoyao/elysia-adminInstructions file5415d agoMITA2,383Kiro
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode