Mayor-elect Marion Barry, extablishing the character of his incoming administration, announced yesterday the appointment of 13 top-level aides -- most of his own generation and many with similar backgrounds.

Like Barry, several have trod the path from civil rights and antiestablishment activism to newly opened echelons of power and prestige, and membership in a new, aggressive and self-confident black middle class within the establishment they had in the past fought against.

The three major appointments announced yesterday were Elijah B. Rogers as city administrator, Ivanhoe Donaldson as general assistant to the mayor and Robert L. Moore as director of housing and community development.

These three are typical of the blend of professional experience and community involvement that Barry -- a former activist, one-time school board persident ant outgoing D.C. City Council member -- said he hopes will be the cornerstone of a "competent and compassionate," city bureaucracy.

Rogers, 39, will have the number two hob in city government. He has since 1976 been city manager in Berkeley, Calif. and before that served as an assistant city manager in Berkeley, Richmond, Va. and Bowie, Md. As a college graduate student, he was an assistant federal programs director for the National Urgan League.

Donaldson, 37, will have what is generally considered the number three job in District government -- the virtual chief of staff of Barry's office and the mayor-elect's chief trouble-shooter. He is an old friend of Barry from the civil rights movement and Barry's principal political adviser. Donaldson was once an executive at the Cummins Engine Foundation in Gray and is also a former restaurant owner.

Moore, 38, was chosen to oversee operations of one of the city's most vital but troubled department. He took part in the desegregation sit-ins in Greensboro, N.C. in 1960. He later graduated from Howard University and served as a special assistant in the Department of Housing and Urban Development. He is now executive director, of the Housing Authority of the City of Houston, a post he has held since 1976.

With few exceptions, the other 10 appointees announced yesterday are from similar backgrounds. Only one is over 50. Only two are white. Most have migrated to the District of Columbia in the past two decades. Only three are holdovers from the staff of Mayor Walter E. Washington, whose administration Barry had described repeatedly during his campaign as "bumbling and bungling."

"After an extensive and intensive search throughout the metropolitan area and around the country," Barry said yesterday, "I think we have assembled the nucleus of what I expect to be the most dynamic urban political team in the United States."

In announcing the appointments yesterday, Barry detailed an extensive realignment of the 34-person mayor's office staff that increased the number of top level administrators and added several new positions.

Unlike his predecessor, Julian R. Dugas, who essentially had a staff of two (a secretary and an aide), city administrator-designate Rogers will be assisted by five deputies, each with the title of assistant city administrator. Most will earn about $47,000 a year. Roger's salary will be $50,000.

Those five are:

Fames O. Gibson, assistant city administrator for planning and development Gibson, formerly an urban planner at the Potomac Institute and a longtime political confidant of Barry, will in effect replace Ben. W. Gilbert, director of the city's Municipal Planning Office.

Gladys W. Mack, 44, assistant city administrator for budget and resources development. Mack is currently acting city budget director. She was formerly director of budget and finance for Washington Technical Institute, now a part of the University of the District of Columbia.

Colin F. S. Walters, assistant city administrator for financial development. The British-born Walters, one of two whites among the appointees Barry announced yesterday, is a consultant for the Center for Municipal and Metropolitan Research, a locally based think tank specializing in urban financial and management research. He is also a member of the board of the D.C. Public Library.

Carrol B. Harvey, assistant city administrator for operations. Along with Barry and Barry's former wife, Mary Treadwell, Harvey was a cofounder of Pride, Inc., the self-help organization that launched Barry's political career. He has worked as a housing specialist and urban planner in four different states and the Distrct of Columbia.

Judith W. Rogers, assistant city administrator for intergovernmental relations. Rogers was Mayor Washington's principal lobbyist on Capitol Hill, chief legislative assistant and primary liaison with the City Council. She will do essentially the same task for Barry.

Most of the other announcements by Barry yesterday had long been anticipated.

Florence Tate, 47, will be Barry's press secretary. She is a former reporter for the Dayton Daily News and former communications director for the National Urban Coalition. Tate had been Barry's press liaison during last fall and summer's campaigns.

Dwight S. Cropp, 39, executive director of the city school board, will become executive secretary to the mayor.

David Splitt, 33, general counsel to the school board, will fill a new position of director of the city's documents office. Splitt, the other white appointed, will be responsible for publication of the D.C. Register, the weekly compilation of official city actions and proceedings and will be expected to produce a long-delayed wolume of the city's municipal code.

Goorge R. Harrod, director of personnel in the Washington administration, was reappointed to the same position.

Herbert O. Reid, 62, another longtime Barry friend and a professor at Howard University Law School, will be counsel to the mayor -- a new post created to avoid appearances of possible conflict of interest by the corporation counsel. Some past corporation counsels have served as both the city's chief lawyer and princiapl legal adviser to the mayor at times when the mayor's own conduct was in question.

Barry also announced yesterday that he would establish a position in his office of inspector general to investigate -- but not prosecute -- posisible administrative irregularities and allegations of improper conduct by administration officials. Barry did not announce an appointment to that position yesterday.

He also did not announce appointment of anyone as corporation counsel, another top post Barry had hoped to fill before his inauguration next Tuesday. The mayor-elect did not say when that appointment would be made.