| name | firefly-friends-config |
| description | 修改 Firefly 友链配置。Use when editing friends page columns, friend link cards, sorting weight, or enabled flags in src/config/friendsConfig.ts and optional page copy in src/content/spec/friends.md. |
Firefly Friends Config
Overview
Maintain friend-link entries and ranking while keeping page layout consistent.
Workflow
- Read the current target file(s) before editing.
- Confirm the requested behavior and map it to existing keys.
- Apply the smallest possible change inside the declared scope.
- Keep existing style, object structure, and value types.
- Report changed keys and paths.
Edit Scope
- src/config/friendsConfig.ts
- src/content/spec/friends.md
Common Keys
- friendsPageConfig.columns
- friendsConfig[].title / imgurl / desc / siteurl / tags[] / weight / enabled
- getEnabledFriends sorting behavior (enabled filter + weight desc)
- friends page markdown content in src/content/spec/friends.md
Guardrails
- Do not modify files outside Edit Scope unless explicitly requested.
- Keep booleans, numbers, arrays, enums, and URLs in valid types.
- Preserve existing comments unless they conflict with the new behavior.
- Prefer minimal diffs that are easy to review.