allra-api-design
78为 Allra 设计 Spring REST API
后端团队在添加 Spring API 和 DTO 时,常常会失去一致性。此 skill 会应用 Allra 关于包布局、REST 命名、DTO record、验证和响应的约定。
编写更好的 Allra 后端测试
后端测试套件常常会变得缓慢、不一致且难以审查。此技能为 Allra 团队提供清晰的 Java 测试标准,用于选择测试类型、数据辅助工具、mock 和断言。
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "allra-test-writing" from https://skillstore.io/skills/allra-fintech-allra-test-writing.md and its manifest at https://skillstore.io/api/skills/allra-fintech-allra-test-writing/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
正在使用“allra-test-writing”。 某个 service 方法验证输入,并通过 repository 保存一个实体。
预期结果:
正在使用“allra-test-writing”。 某个支付工作流会更新余额、创建支付记录,并且必须在失败时回滚。
预期结果:
正在使用“allra-test-writing”。 某个 controller endpoint 按 id 返回一个用户。
预期结果:
All 87 static alerts are false positives caused by Markdown backticks, fenced code samples, safe test method names, and documented test commands. The skill is a testing guide with no executable scripts, automatic command execution, system reconnaissance, or prompt injection.
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
https://skillstore.io/skills/allra-fintech-allra-test-writing/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/allra-fintech-allra-test-writing?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/allra-fintech-allra-test-writing?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/allra-fintech-allra-test-writing/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/allra-fintech-allra-test-writing.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Allra-Fintech. (2026). allra-test-writing security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/allra-fintech-allra-test-writing/audits/9@techreport{allra-fintech-allra-fintech-allra-test-writing-2026,
author = {Allra-Fintech},
title = {allra-test-writing security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/allra-fintech-allra-test-writing/audits/9},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "allra-test-writing security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "Allra-Fintech"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/allra-fintech-allra-test-writing/audits/9"
identifiers:
- type: other
value: "skillstore:allra-fintech-allra-test-writing:audit:9"
description: "Skillstore immutable audit report identifier"
判断某个 service 变更是否需要 MockingUnitTest、IntegrationTest、RdbTest、ControllerTest、RedisTest 或 PojoUnitTest。
检查新测试是否使用清晰的名称、Given-When-Then 结构、AssertJ 断言和聚焦的验证。
为业务规则、controller 响应、repository 查询、事务和数据一致性补充缺失测试。
我修改了这个后端类。请判断我应该使用哪个 Allra 测试辅助工具,并用简单步骤解释原因。
为这个 service 方法创建一个 MockingUnitTest 计划。包括 given、when、then、mock、断言和边界情况。
根据 Allra 标准审查这些测试。检查辅助工具选择、命名、Given-When-Then 结构、断言以及不必要的集成覆盖。
为这个资金或交易工作流设计聚焦的测试覆盖。将带 mock 的单元测试与必要的集成测试分开。
许可证
MIT
Skillstore 修订
r2
版本提示
作者未声明版本。
引用
31bc7611b504c197d3e993aef7943461c871616f
维护新鲜度
2026/7/28
使用量
9 次下载 · 257 次浏览
文件结构
📄 SKILL.md
为 Allra 设计 Spring REST API
后端团队在添加 Spring API 和 DTO 时,常常会失去一致性。此 skill 会应用 Allra 关于包布局、REST 命名、DTO record、验证和响应的约定。
实现 Allra 错误处理
团队需要一致的 Spring 后端错误、日志记录和响应格式。此技能指导 Claude、Codex 和 Claude Code 使用 Allra 风格的异常模式。
设计 Allra 数据库代码
团队需要在实体、仓库、投影和事务中保持一致的 Spring 数据库代码。此技能提供 Allra 专用的 JPA 和 QueryDSL 规则,用于可重复的后端实现。
生成 Java 单元测试
由 gavin-ali
Java 团队通常需要符合现有项目风格的聚焦测试。此技能会指导 Claude、Codex 和 Claude Code 创建带有实用 mock 的 JUnit 和 Mockito 测试。
构建现代 Java 系统
由 sickn33
Java 团队需要关于现代语言特性、Spring Boot 和生产性能的实用指导。此技能为 Claude、Codex 和 Claude Code 提供聚焦于 Java 架构、测试和优化的支持。
构建更好的 Spring Boot 应用
由 github
Spring Boot 项目在分层、配置、测试和安全方面可能会变得不一致。此技能为使用 Spring Boot 设计可维护的 Java 服务提供简明的最佳实践指导。
构建 Spring Boot 后端 API
由 Crearize
后端变更可能偏离项目约定、数据库文档和测试预期。此技能提供一个结构化的 Spring Boot/MyBatis 工作流,覆盖从任务接收到 API、数据、测试和验证的全过程。
Generate a Camel Spring Boot Compatibility Matrix
由 dboeckli
Matching Camel, Spring Boot, and CXF versions requires checking several release sources. This skill collects current metadata and creates one Markdown matrix.
Review Defects and Verify Root-Cause Repairs
由 aakashh242
Reviews can miss failure conditions or accept fixes without reliable evidence. Gauntlet guides scoped adversarial reviews, authorized repairs, and revision-bound verification within a finite budget.