소스 정보
- 저장소
- tomevault-io/tomes
- 최근 소스 활동
- 2026년 7월 23일 21:48
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/tomes --skill simpleorm명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
> Use when this capability is needed.
Use when writing kernel, account, or note MASM code that reads from or writes to the advice provider (advice stack / advice map) — validate advice data.
Use when writing a Rust test that exercises a failure path or a MASM test that expects a `panic` / `assert` — assert on the specific expected error variant or error code.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | simpleorm |
| description | name: delphi-project-structure Use when this capability is needed. |
Rules are in
.claude/rules/sample-creation.md— this skill provides templates and reference.
| File | Purpose | Created by |
|---|---|---|
.dpr | Program file — entry point | Developer/Claude |
.pas | Unit file — source code | Developer/Claude |
.dproj | Project config (MSBuild XML) | IDE only |
.res | Compiled resources (binary) | IDE only |
.dfm | Form layout (visual) | IDE only |
.groupproj | Project group | IDE only |
.dpr (PROGRAM) .pas (UNIT)
───────────────── ─────────────────
program MyApp; unit MyUnit;
{$APPTYPE CONSOLE} interface
{$R *.res} uses ...;
type ...;
uses
Unit1 in 'Unit1.pas'; implementation
uses ...;
begin
// executable code // implementation code
end.
end.
Key differences:
.dpr starts with program, .pas starts with unit.dpr has executable begin/end. block.pas has interface/implementation sections.dpr uses in 'path' syntax for unit paths.dpr has {$R *.res} and {$APPTYPE CONSOLE}program SimpleORMFeature;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils,
System.Generics.Collections,
SimpleDAO,
SimpleInterface,
SimpleQueryFiredac,
FireDAC.Comp.Client,
FireDAC.Stan.Def,
FireDAC.Phys.FB,
Entidade.Pedido in '..\Entidades\Entidade.Pedido.pas';
var
LConn: TFDConnection;
LDAO: iSimpleDAO<TPEDIDO>;
begin
try
LConn := TFDConnection.Create(nil);
try
LConn.Params.DriverID := 'FB';
LConn.Params.Database := 'C:\database\MEUBANCO.FDB'; // Ajustar caminho
LConn.Params.UserName := 'SYSDBA';
LConn.Params.Password := 'masterkey';
LConn.Connected := True;
LDAO := TSimpleDAO<TPEDIDO>.New(
TSimpleQueryFiredac.New(LConn)
);
// === Demonstracao do recurso ===
Writeln('=== Feature Demo ===');
// ...
Writeln('');
Writeln('Done! Press Enter to exit...');
finally
LConn.Free;
end;
except
on E: Exception do
Writeln('Error: ', E.Message);
end;
Readln;
end.
program SimpleORMFeature;
uses
Vcl.Forms,
Principal in 'Principal.pas' {FormPrincipal},
Entidade.Pedido in '..\Entidades\Entidade.Pedido.pas';
{$R *.res}
begin
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TFormPrincipal, FormPrincipal);
Application.Run;
end.
unit Principal;
interface
uses
Vcl.Forms, Vcl.StdCtrls, Vcl.Controls, System.Classes,
Data.DB, FireDAC.Comp.Client, System.Generics.Collections,
SimpleDAO, SimpleInterface, SimpleQueryFiredac;
type
TFormPrincipal = class(TForm)
// Components declared here are created by IDE from .dfm
// Do NOT manually add component declarations
private
FDAO: iSimpleDAO<T>;
public
procedure AfterConstruction; override;
end;
var
FormPrincipal: TFormPrincipal;
implementation
{$R *.dfm}
procedure TFormPrincipal.AfterConstruction;
begin
inherited;
// Initialize DAO here
end;
end.
samples/FeatureName/
├── SimpleORMFeature.dpr ← Claude creates
├── [SimpleORMFeature.dproj] ← IDE generates (do not create)
├── [SimpleORMFeature.res] ← IDE generates (do not create)
├── [Principal.pas] ← Claude creates (VCL only)
├── [Principal.dfm] ← IDE generates (VCL only)
└── README.md ← Claude creates
# Feature Name Sample
Demonstrates [feature description].
## Prerequisites
- Delphi 10.3+
- [Database/dependency]
- SimpleORM installed (boss or library path)
## Setup
1. Open `SimpleORMFeature.dpr` in Delphi IDE
2. Configure database connection (adjust path in source)
3. Build and run (F9)
## What It Shows
- [Feature 1]
- [Feature 2]
in SyntaxIn .dpr files, units that are NOT installed in the IDE need the in 'path' syntax:
uses
// Installed units (no path needed)
System.SysUtils,
Horse,
SimpleDAO,
// Non-installed units (need relative path)
Entidade.Pedido in '..\Entidades\Entidade.Pedido.pas',
MyLocalUnit in 'SubDir\MyLocalUnit.pas';
The {FormName} comment after in is for form units only:
Principal in 'Principal.pas' {FormPrincipal}
Source: academiadocodigo/SimpleORM — distributed by TomeVault.