소스 정보
- 저장소
- ffsshhttiikk/opencode-agents-skills
- 최근 소스 활동
- 2026년 2월 28일 22:48
- 감지된 SKILL.md 언어
- 영어
- 스타
- 2
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/ffsshhttiikk/opencode-agents-skills --skill civil-engineering명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | civil-engineering |
| description | Civil engineering design and construction |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"engineers, architects, construction professionals","category":"engineering"} |
# Basic structural analysis
class StructuralAnalysis:
def beam_stress(self, M, y, I):
"""Bending stress"""
return M * y / I
def beam_deflection(self, P, L, E, I):
"""Simply supported beam, point load at center"""
return P * L**3 / (48 * E * I)
def column_buckling(self, L, E, I):
"""Euler buckling load"""
# P_cr = π²EI/L²
return (np.pi**2 * E * I) / L**2
def shear_stress(self, V, Q, I, t):
"""Shear stress in beams"""
return V * Q / (I * t)
| Load Type | Symbol | Description |
|---|---|---|
| Dead Load | DL | Self-weight of structure |
| Live Load | LL | Occupancy/usage loads |
| Wind Load | WL | Wind pressure on structure |
| Seismic | EL | Earthquake forces |
| Snow | SL | Snow accumulation |
| Rain | RL | Ponding on flat roofs |
# Shallow foundation
class FoundationDesign:
@staticmethod
def bearing_capacity(c, phi, gamma, D_f, B):
"""Terzaghi's bearing capacity"""
# q_ult = cN_c + γD_fN_q + 0.5γBN_γ
N_q = np.exp(2 * np.pi * np.tan(np.radians(phi))) * np.tan(np.pi/4 + phi/2)**2
N_c = (N_q - 1) / (2 * np.tan(np.radians(phi)))
N_gamma = (N_q - 1) * np.tan(1.4 * phi)
return c * N_c + gamma * D_f * N_q + 0.5 * gamma * B * N_gamma
@staticmethod
def settlement(Es, mu, q, B):
"""Immediate settlement (elastic)"""
# s_i = (qB(1-μ²) / Es) × I
return (q * B * (1 - mu**2) / Es) * 1.5
# Reinforced concrete
class ConcreteDesign:
@staticmethod
def steel_area(f_strength, d, As_required):
"""Calculate reinforcement"""
return As_required
@staticmethod
def crack_width(f_s, z, A):
"""Calculate crack width"""
# w = f_s × A / (0.6 × Es × z)
return f_s * A / (0.6 * 200000 * z)
@staticmethod
def deflection(I, M, E):
"""Calculate deflection"""
return 5 * M * 12**2 / (384 * E * I)
| Soil Type | γ (kN/m³) | c (kPa) | φ (°) | E (MPa) |
|---|---|---|---|---|
| Sand (dense) | 18-20 | 0 | 35-40 | 50-80 |
| Sand (loose) | 15-17 | 0 | 30-35 | 20-40 |
| Clay (stiff) | 18-20 | 50-100 | 20-25 | 20-50 |
| Clay (soft) | 15-17 | 10-25 | 10-15 | 2-10 |
| Gravel | 19-22 | 0 | 35-45 | 100-200 |
# Pavement design (AASHTO)
class PavementDesign:
@staticmethod
def structural_number(W_18, R, S, Z):
"""Calculate required SN"""
# Logarithmic relationship
return (W_18 - 7.35*np.log10(R+1) + 0.2 -
9.36*np.log10(S+1) + 8.27*Z) / (0.4 + 1094/(S+1)**2.2)